· 7 years ago · Nov 12, 2018, 10:28 PM
1 if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
2local Player,game,owner = owner,game
3local RealPlayer = Player
4do
5 print("FE Compatibility code by Mokiros")
6 local rp = RealPlayer
7 script.Parent = rp.Character
8
9 --RemoteEvent for communicating
10 local Event = Instance.new("RemoteEvent")
11 Event.Name = "UserInput_Event"
12
13 --Fake event to make stuff like Mouse.KeyDown work
14 local function fakeEvent()
15 local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
16 t.connect = t.Connect
17 return t
18 end
19
20 --Creating fake input objects with fake variables
21 local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
22 local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
23 local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
24 CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
25 end}
26 --Merged 2 functions into one by checking amount of arguments
27 CAS.UnbindAction = CAS.BindAction
28
29 --This function will trigger the events that have been :Connect()'ed
30 local function te(self,ev,...)
31 local t = m[ev]
32 if t and t._fakeEvent then
33 for _,f in pairs(t.Functions) do
34 f(...)
35 end
36 end
37 end
38 m.TrigEvent = te
39 UIS.TrigEvent = te
40
41 Event.OnServerEvent:Connect(function(plr,io)
42 if plr~=rp then return end
43 m.Target = io.Target
44 m.Hit = io.Hit
45 if not io.isMouse then
46 local b = io.UserInputState == Enum.UserInputState.Begin
47 if io.UserInputType == Enum.UserInputType.MouseButton1 then
48 return m:TrigEvent(b and "Button1Down" or "Button1Up")
49 end
50 for _,t in pairs(CAS.Actions) do
51 for _,k in pairs(t.Keys) do
52 if k==io.KeyCode then
53 t.Function(t.Name,io.UserInputState,io)
54 end
55 end
56 end
57 m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
58 UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
59 end
60 end)
61 Event.Parent = NLS([==[
62 local Player = game:GetService("Players").LocalPlayer
63 local Event = script:WaitForChild("UserInput_Event")
64
65 local Mouse = Player:GetMouse()
66 local UIS = game:GetService("UserInputService")
67 local input = function(io,a)
68 if a then return end
69 --Since InputObject is a client-side instance, we create and pass table instead
70 Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
71 end
72 UIS.InputBegan:Connect(input)
73 UIS.InputEnded:Connect(input)
74
75 local h,t
76 --Give the server mouse data 30 times every second, but only if the values changed
77 --If player is not moving their mouse, client won't fire events
78 while wait(1/30) do
79 if h~=Mouse.Hit or t~=Mouse.Target then
80 h,t=Mouse.Hit,Mouse.Target
81 Event:FireServer({isMouse=true,Target=t,Hit=h})
82 end
83 end]==],Player.Character)
84
85 ----Sandboxed game object that allows the usage of client-side methods and services
86 --Real game object
87 local _rg = game
88
89 --Metatable for fake service
90 local fsmt = {
91 __index = function(self,k)
92 local s = rawget(self,"_RealService")
93 if s then return s[k] end
94 end,
95 __newindex = function(self,k,v)
96 local s = rawget(self,"_RealService")
97 if s then s[k]=v end
98 end,
99 __call = function(self,...)
100 local s = rawget(self,"_RealService")
101 if s then return s(...) end
102 end
103 }
104 local function FakeService(t,RealService)
105 t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
106 return setmetatable(t,fsmt)
107 end
108
109 --Fake game object
110 local g = {
111 GetService = function(self,s)
112 return self[s]
113 end,
114 Players = FakeService({
115 LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
116 },"Players"),
117 UserInputService = FakeService(UIS,"UserInputService"),
118 ContextActionService = FakeService(CAS,"ContextActionService"),
119 }
120 rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
121 g.service = g.GetService
122
123 g.RunService = FakeService({
124 RenderStepped = _rg:GetService("RunService").Heartbeat,
125 BindToRenderStep = function(self,name,_,fun)
126 self._btrs[name] = self.Heartbeat:Connect(fun)
127 end,
128 UnbindFromRenderStep = function(self,name)
129 self._btrs[name]:Disconnect()
130 end,
131 },"RunService")
132
133 setmetatable(g,{
134 __index=function(self,s)
135 return _rg:GetService(s) or typeof(_rg[s])=="function"
136 and function(_,...)return _rg[s](_rg,...)end or _rg[s]
137 end,
138 __newindex = fsmt.__newindex,
139 __call = fsmt.__call
140 })
141 --Changing owner to fake player object to support owner:GetMouse()
142 game,owner = g,g.Players.LocalPlayer
143end
144CV="Maroon"
145 p = game.Players.LocalPlayer
146 char = p.Character
147 local txt = Instance.new("BillboardGui", char)
148 txt.Adornee = char .Head
149 txt.Name = "_status"
150 txt.Size = UDim2.new(2, 0, 1.2, 0)
151 txt.StudsOffset = Vector3.new(-9, 8, 0)
152 local text = Instance.new("TextLabel", txt)
153 text.Size = UDim2.new(10, 0, 7, 0)
154 text.FontSize = "Size24"
155 text.TextScaled = true
156 text.TextTransparency = 0
157 text.BackgroundTransparency = 1
158 text.TextTransparency = 0
159 text.TextStrokeTransparency = 0
160 text.Font = "Bodoni"
161 text.TextStrokeColor3 = Color3.new(255,0,0)
162
163 v=Instance.new("Part")
164 v.Name = "ColorBrick"
165 v.Parent=p.Character
166 v.FormFactor="Symmetric"
167 v.Anchored=true
168 v.CanCollide=false
169 v.BottomSurface="Smooth"
170 v.TopSurface="Smooth"
171 v.Size=Vector3.new(10,5,3)
172 v.Transparency=1
173 v.CFrame=char.Torso.CFrame
174 v.BrickColor=BrickColor.new(CV)
175 v.Transparency=1
176 text.TextColor3 = Color3.new(0,0,0)
177 v.Shape="Block"
178 text.Text = "Nahid Hunter"
179
180local FavIDs = {340106355,927529620,876981900,398987889,1117396305}
181
182function swait(num)
183if num==0 or num==nil then
184game:service'RunService'.Stepped:wait(0)
185else
186for i=0,num do
187game:service'RunService'.Stepped:wait(0)
188end
189end
190end
191function thread(f)
192 coroutine.resume(coroutine.create(f))
193end
194
195--Needed to add this for a good reason, thank me later mak.
196so = function(id,par,vol,pit)
197coroutine.resume(coroutine.create(function()
198local sou = Instance.new("Sound",par or workspace)
199sou.Volume=vol
200sou.Pitch=pit or 1
201sou.SoundId=id
202swait()
203sou:play()
204game:GetService("Debris"):AddItem(sou,8)
205end))
206end
207
208
209function clerp(a, b, t)
210 local qa = {
211 QuaternionFromCFrame(a)
212 }
213 local qb = {
214 QuaternionFromCFrame(b)
215 }
216 local ax, ay, az = a.x, a.y, a.z
217 local bx, by, bz = b.x, b.y, b.z
218 local _t = 1 - t
219 return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
220end
221function QuaternionFromCFrame(cf)
222 local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
223 local trace = m00 + m11 + m22
224 if trace > 0 then
225 local s = math.sqrt(1 + trace)
226 local recip = 0.5 / s
227 return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
228 else
229 local i = 0
230 if m00 < m11 then
231 i = 1
232 end
233 if m22 > (i == 0 and m00 or m11) then
234 i = 2
235 end
236 if i == 0 then
237 local s = math.sqrt(m00 - m11 - m22 + 1)
238 local recip = 0.5 / s
239 return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
240 elseif i == 1 then
241 local s = math.sqrt(m11 - m22 - m00 + 1)
242 local recip = 0.5 / s
243 return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
244 elseif i == 2 then
245 local s = math.sqrt(m22 - m00 - m11 + 1)
246 local recip = 0.5 / s
247 return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
248 end
249 end
250end
251function QuaternionToCFrame(px, py, pz, x, y, z, w)
252 local xs, ys, zs = x + x, y + y, z + z
253 local wx, wy, wz = w * xs, w * ys, w * zs
254 local xx = x * xs
255 local xy = x * ys
256 local xz = x * zs
257 local yy = y * ys
258 local yz = y * zs
259 local zz = z * zs
260 return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
261end
262function QuaternionSlerp(a, b, t)
263 local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
264 local startInterp, finishInterp
265 if cosTheta >= 1.0E-4 then
266 if 1 - cosTheta > 1.0E-4 then
267 local theta = math.acos(cosTheta)
268 local invSinTheta = 1 / math.sin(theta)
269 startInterp = math.sin((1 - t) * theta) * invSinTheta
270 finishInterp = math.sin(t * theta) * invSinTheta
271 else
272 startInterp = 1 - t
273 finishInterp = t
274 end
275 elseif 1 + cosTheta > 1.0E-4 then
276 local theta = math.acos(-cosTheta)
277 local invSinTheta = 1 / math.sin(theta)
278 startInterp = math.sin((t - 1) * theta) * invSinTheta
279 finishInterp = math.sin(t * theta) * invSinTheta
280 else
281 startInterp = t - 1
282 finishInterp = t
283 end
284 return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
285end
286function rayCast(Position, Direction, Range, Ignore)
287 return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
288end
289--Wait what okay
290wait()
291local plr = game:service'Players'.LocalPlayer
292local char = plr.Character
293local hum = char.Humanoid
294local ra = char["Right Arm"]
295local la= char["Left Arm"]
296local rl= char["Right Leg"]
297local ll = char["Left Leg"]
298local hed = char.Head
299local root = char.HumanoidRootPart
300local rootj = root.RootJoint
301local tors = char.Torso
302local mouse = plr:GetMouse()
303local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
304local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
305local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
306local maincolor = BrickColor.new("Dark indigo")
307cf = CFrame.new
308angles = CFrame.Angles
309attack = false
310euler=CFrame.fromEulerAnglesXYZ
311equipped = false
312necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
313RSH, LSH = nil, nil
314RW = Instance.new("Weld")
315LW = Instance.new("Weld")
316RH = tors["Right Hip"]
317LH = tors["Left Hip"]
318RSH = tors["Right Shoulder"]
319LSH = tors["Left Shoulder"]
320RSH.Parent = nil
321LSH.Parent = nil
322RW.Name = "RW"
323RW.Part0 = tors
324RW.C0 = CFrame.new(1.5, 0.5, 0)
325RW.C1 = CFrame.new(0, 0.5, 0)
326RW.Part1 = ra
327RW.Parent = tors
328LW.Name = "LW"
329LW.Part0 = tors
330LW.C0 = CFrame.new(-1.5, 0.5, 0)
331LW.C1 = CFrame.new(0, 0.5, 0)
332LW.Part1 = la
333LW.Parent = tors
334print('User is '..plr.Name)
335Effects = {}
336
337ArtificialHB = Instance.new("BindableEvent", script)
338ArtificialHB.Name = "Heartbeat"
339
340script:WaitForChild("Heartbeat")
341
342frame = 1 / 60
343tf = 0
344allowframeloss = false
345tossremainder = false
346lastframe = tick()
347script.Heartbeat:Fire()
348
349game:GetService("RunService").Heartbeat:connect(function(s, p)
350 tf = tf + s
351 if tf >= frame then
352 if allowframeloss then
353 script.Heartbeat:Fire()
354 lastframe = tick()
355 else
356 for i = 1, math.floor(tf / frame) do
357 script.Heartbeat:Fire()
358 end
359 lastframe = tick()
360 end
361 if tossremainder then
362 tf = 0
363 else
364 tf = tf - frame * math.floor(tf / frame)
365 end
366 end
367end)
368local RbxUtility = LoadLibrary("RbxUtility")
369local Create = RbxUtility.Create
370
371function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
372 if hit.Parent == nil then
373 return
374 end
375 local h = hit.Parent:FindFirstChildOfClass("Humanoid")
376 for _, v in pairs(hit.Parent:children()) do
377 if v:IsA("Humanoid") then
378 h = v
379 end
380 end
381 if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
382 warn'No R15 allowed'
383 hit.Parent:FindFirstChild("Head"):BreakJoints()
384 end
385
386 if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
387 if hit.Parent:findFirstChild("DebounceHit") ~= nil then
388 if hit.Parent.DebounceHit.Value == true then
389 return
390 end
391 end
392 if insta == true then
393 hit.Parent:FindFirstChild("Head"):BreakJoints()
394 end
395 local c = Create("ObjectValue"){
396 Name = "creator",
397 Value = game:service("Players").LocalPlayer,
398 Parent = h,
399 }
400 game:GetService("Debris"):AddItem(c, .5)
401 if HitSound ~= nil and HitPitch ~= nil then
402 CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
403 end
404 local Damage = math.random(minim, maxim)
405 local blocked = false
406 local block = hit.Parent:findFirstChild("Block")
407 if block ~= nil then
408 if block.className == "IntValue" then
409 if block.Value > 0 then
410 blocked = true
411 block.Value = block.Value - 1
412 print(block.Value)
413 end
414 end
415 end
416 if blocked == false then
417 h.Health = h.Health - Damage
418 ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
419 else
420 h.Health = h.Health - (Damage / 2)
421 ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
422 end
423 if Type == "Knockdown" then
424 local hum = hit.Parent.Humanoid
425 hum.PlatformStand = true
426 coroutine.resume(coroutine.create(function(HHumanoid)
427 swait(1)
428 HHumanoid.PlatformStand = false
429 end), hum)
430 local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
431 local bodvol = Create("BodyVelocity"){
432 velocity = angle * knockback,
433 P = 5000,
434 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
435 Parent = hit,
436 }
437 local rl = Create("BodyAngularVelocity"){
438 P = 3000,
439 maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
440 angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
441 Parent = hit,
442 }
443 game:GetService("Debris"):AddItem(bodvol, .5)
444 game:GetService("Debris"):AddItem(rl, .5)
445 elseif Type == "Normal" then
446 local vp = Create("BodyVelocity"){
447 P = 500,
448 maxForce = Vector3.new(math.huge, 0, math.huge),
449 velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
450 }
451 if knockback > 0 then
452 vp.Parent = hit.Parent.Torso
453 end
454 game:GetService("Debris"):AddItem(vp, .5)
455 elseif Type == "Up" then
456 local bodyVelocity = Create("BodyVelocity"){
457 velocity = Vector3.new(0, 20, 0),
458 P = 5000,
459 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
460 Parent = hit,
461 }
462 game:GetService("Debris"):AddItem(bodyVelocity, .5)
463 elseif Type == "DarkUp" then
464 coroutine.resume(coroutine.create(function()
465 for i = 0, 1, 0.1 do
466 swait()
467 Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
468 end
469 end))
470 local bodyVelocity = Create("BodyVelocity"){
471 velocity = Vector3.new(0, 20, 0),
472 P = 5000,
473 maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
474 Parent = hit,
475 }
476 game:GetService("Debris"):AddItem(bodyVelocity, 1)
477 elseif Type == "Snare" then
478 local bp = Create("BodyPosition"){
479 P = 2000,
480 D = 100,
481 maxForce = Vector3.new(math.huge, math.huge, math.huge),
482 position = hit.Parent.Torso.Position,
483 Parent = hit.Parent.Torso,
484 }
485 game:GetService("Debris"):AddItem(bp, 1)
486 elseif Type == "Freeze" then
487 local BodPos = Create("BodyPosition"){
488 P = 50000,
489 D = 1000,
490 maxForce = Vector3.new(math.huge, math.huge, math.huge),
491 position = hit.Parent.Torso.Position,
492 Parent = hit.Parent.Torso,
493 }
494 local BodGy = Create("BodyGyro") {
495 maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
496 P = 20e+003,
497 Parent = hit.Parent.Torso,
498 cframe = hit.Parent.Torso.CFrame,
499 }
500 hit.Parent.Torso.Anchored = true
501 coroutine.resume(coroutine.create(function(Part)
502 swait(1.5)
503 Part.Anchored = false
504 end), hit.Parent.Torso)
505 game:GetService("Debris"):AddItem(BodPos, 3)
506 game:GetService("Debris"):AddItem(BodGy, 3)
507 end
508 local debounce = Create("BoolValue"){
509 Name = "DebounceHit",
510 Parent = hit.Parent,
511 Value = true,
512 }
513 game:GetService("Debris"):AddItem(debounce, Delay)
514 c = Create("ObjectValue"){
515 Name = "creator",
516 Value = Player,
517 Parent = h,
518 }
519 game:GetService("Debris"):AddItem(c, .5)
520 end
521end
522
523function ShowDamage(Pos, Text, Time, Color)
524 local Rate = (1 / 30)
525 local Pos = (Pos or Vector3.new(0, 0, 0))
526 local Text = (Text or "")
527 local Time = (Time or 2)
528 local Color = (Color or Color3.new(1, 0, 1))
529 local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
530 EffectPart.Anchored = true
531 local BillboardGui = Create("BillboardGui"){
532 Size = UDim2.new(3, 0, 3, 0),
533 Adornee = EffectPart,
534 Parent = EffectPart,
535 }
536 local TextLabel = Create("TextLabel"){
537 BackgroundTransparency = 1,
538 Size = UDim2.new(1, 0, 1, 0),
539 Text = Text,
540 Font = "Highway",
541 TextColor3 = Color,
542 TextScaled = true,
543 Parent = BillboardGui,
544 }
545 game.Debris:AddItem(EffectPart, (Time))
546 EffectPart.Parent = game:GetService("Workspace")
547 delay(0, function()
548 local Frames = (Time / Rate)
549 for Frame = 1, Frames do
550 wait(Rate)
551 local Percent = (Frame / Frames)
552 EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
553 TextLabel.TextTransparency = Percent
554 end
555 if EffectPart and EffectPart.Parent then
556 EffectPart:Destroy()
557 end
558 end)
559end
560function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
561 for _, c in pairs(workspace:children()) do
562 local hum = c:findFirstChild("Humanoid")
563 if hum ~= nil then
564 local head = c:findFirstChild("Head")
565 if head ~= nil then
566 local targ = head.Position - Part.Position
567 local mag = targ.magnitude
568 if magni >= mag and c.Name ~= plr.Name then
569 Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=623904185", 5.2)
570 end
571 end
572 end
573 end
574end
575function MagniKILL(Part, magni, knock, Type)
576 for _, c in pairs(workspace:children()) do
577 local hum = c:findFirstChild("Humanoid")
578 if hum ~= nil then
579 local head = c:findFirstChild("Head")
580 if head ~= nil then
581 local targ = head.Position - Part.Position
582 local mag = targ.magnitude
583 if magni >= mag and c.Name ~= plr.Name then
584 hum.Health = 0
585 end
586 end
587 end
588 end
589end
590CFuncs = {
591 Part = {
592 Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
593 local Part = Create("Part")({
594 Parent = Parent,
595 Reflectance = Reflectance,
596 Transparency = Transparency,
597 CanCollide = false,
598 Locked = true,
599 BrickColor = BrickColor.new(tostring(BColor)),
600 Name = Name,
601 Size = Size,
602 Material = Material
603 })
604 RemoveOutlines(Part)
605 return Part
606 end
607 },
608 Mesh = {
609 Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
610 local Msh = Create(Mesh)({
611 Parent = Part,
612 Offset = OffSet,
613 Scale = Scale
614 })
615 if Mesh == "SpecialMesh" then
616 Msh.MeshType = MeshType
617 Msh.MeshId = MeshId
618 end
619 return Msh
620 end
621 },
622 Mesh = {
623 Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
624 local Msh = Create(Mesh)({
625 Parent = Part,
626 Offset = OffSet,
627 Scale = Scale
628 })
629 if Mesh == "SpecialMesh" then
630 Msh.MeshType = MeshType
631 Msh.MeshId = MeshId
632 end
633 return Msh
634 end
635 },
636 Weld = {
637 Create = function(Parent, Part0, Part1, C0, C1)
638 local Weld = Create("Weld")({
639 Parent = Parent,
640 Part0 = Part0,
641 Part1 = Part1,
642 C0 = C0,
643 C1 = C1
644 })
645 return Weld
646 end
647 },
648 Sound = {
649 Create = function(id, par, vol, pit)
650 coroutine.resume(coroutine.create(function()
651 local S = Create("Sound")({
652 Volume = vol,
653 Pitch = pit or 1,
654 SoundId = id,
655 Parent = par or workspace
656 })
657 wait()
658 S:play()
659 game:GetService("Debris"):AddItem(S, 6)
660 end))
661 end
662 },
663 ParticleEmitter = {
664 Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
665 local fp = Create("ParticleEmitter")({
666 Parent = Parent,
667 Color = ColorSequence.new(Color1, Color2),
668 LightEmission = LightEmission,
669 Size = Size,
670 Texture = Texture,
671 Transparency = Transparency,
672 ZOffset = ZOffset,
673 Acceleration = Accel,
674 Drag = Drag,
675 LockedToPart = LockedToPart,
676 VelocityInheritance = VelocityInheritance,
677 EmissionDirection = EmissionDirection,
678 Enabled = Enabled,
679 Lifetime = LifeTime,
680 Rate = Rate,
681 Rotation = Rotation,
682 RotSpeed = RotSpeed,
683 Speed = Speed,
684 VelocitySpread = VelocitySpread
685 })
686 return fp
687 end
688 }
689}
690function RemoveOutlines(part)
691 part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
692end
693function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
694 local Part = Create("Part")({
695 formFactor = FormFactor,
696 Parent = Parent,
697 Reflectance = Reflectance,
698 Transparency = Transparency,
699 CanCollide = false,
700 Locked = true,
701 BrickColor = BrickColor.new(tostring(BColor)),
702 Name = Name,
703 Size = Size,
704 Material = Material
705 })
706 RemoveOutlines(Part)
707 return Part
708end
709function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
710 local Msh = Create(Mesh)({
711 Parent = Part,
712 Offset = OffSet,
713 Scale = Scale
714 })
715 if Mesh == "SpecialMesh" then
716 Msh.MeshType = MeshType
717 Msh.MeshId = MeshId
718 end
719 return Msh
720end
721function CreateWeld(Parent, Part0, Part1, C0, C1)
722 local Weld = Create("Weld")({
723 Parent = Parent,
724 Part0 = Part0,
725 Part1 = Part1,
726 C0 = C0,
727 C1 = C1
728 })
729 return Weld
730end
731EffectModel = Instance.new("Model", char)
732Effects = {
733 Block = {
734 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
735 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
736 prt.Anchored = true
737 prt.CFrame = cframe
738 local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
739 game:GetService("Debris"):AddItem(prt, 10)
740 if Type == 1 or Type == nil then
741 table.insert(Effects, {
742 prt,
743 "Block1",
744 delay,
745 x3,
746 y3,
747 z3,
748 msh
749 })
750 elseif Type == 2 then
751 table.insert(Effects, {
752 prt,
753 "Block2",
754 delay,
755 x3,
756 y3,
757 z3,
758 msh
759 })
760 else
761 table.insert(Effects, {
762 prt,
763 "Block3",
764 delay,
765 x3,
766 y3,
767 z3,
768 msh
769 })
770 end
771 end
772 },
773 Sphere = {
774 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
775 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
776 prt.Anchored = true
777 prt.CFrame = cframe
778 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
779 game:GetService("Debris"):AddItem(prt, 10)
780 table.insert(Effects, {
781 prt,
782 "Cylinder",
783 delay,
784 x3,
785 y3,
786 z3,
787 msh
788 })
789 end
790 },
791 Cylinder = {
792 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
793 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
794 prt.Anchored = true
795 prt.CFrame = cframe
796 local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
797 game:GetService("Debris"):AddItem(prt, 10)
798 table.insert(Effects, {
799 prt,
800 "Cylinder",
801 delay,
802 x3,
803 y3,
804 z3,
805 msh
806 })
807 end
808 },
809 Wave = {
810 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
811 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
812 prt.Anchored = true
813 prt.CFrame = cframe
814 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
815 game:GetService("Debris"):AddItem(prt, 10)
816 table.insert(Effects, {
817 prt,
818 "Cylinder",
819 delay,
820 x3 / 60,
821 y3 / 60,
822 z3 / 60,
823 msh
824 })
825 end
826 },
827 Ring = {
828 Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
829 local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
830 prt.Anchored = true
831 prt.CFrame = cframe
832 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
833 game:GetService("Debris"):AddItem(prt, 10)
834 table.insert(Effects, {
835 prt,
836 "Cylinder",
837 delay,
838 x3,
839 y3,
840 z3,
841 msh
842 })
843 end
844 },
845 Break = {
846 Create = function(brickcolor, cframe, x1, y1, z1)
847 local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
848 prt.Anchored = true
849 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
850 local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
851 local num = math.random(10, 50) / 1000
852 game:GetService("Debris"):AddItem(prt, 10)
853 table.insert(Effects, {
854 prt,
855 "Shatter",
856 num,
857 prt.CFrame,
858 math.random() - math.random(),
859 0,
860 math.random(50, 100) / 100
861 })
862 end
863 }
864}
865function BlockEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
866 local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
867 prt.Anchored = true
868 prt.CFrame = cframe
869 local msh = CreateMesh("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
870 game:GetService("Debris"):AddItem(prt, 10)
871 if Type == 1 or Type == nil then
872 table.insert(Effects, {
873 prt,
874 "Block1",
875 delay,
876 x3,
877 y3,
878 z3,
879 msh
880 })
881 elseif Type == 2 then
882 table.insert(Effects, {
883 prt,
884 "Block2",
885 delay,
886 x3,
887 y3,
888 z3,
889 msh
890 })
891 elseif Type == 3 then
892 table.insert(Effects, {
893 prt,
894 "Block3",
895 delay,
896 x3,
897 y3,
898 z3,
899 msh
900 })
901 end
902end
903function SphereEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
904 local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
905 prt.Anchored = true
906 prt.CFrame = cframe
907 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
908 game:GetService("Debris"):AddItem(prt, 10)
909 table.insert(Effects, {
910 prt,
911 "Cylinder",
912 delay,
913 x3,
914 y3,
915 z3,
916 msh
917 })
918end
919function RingEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
920 local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
921 prt.Anchored = true
922 prt.CFrame = cframe * CFrame.new(x1, y1, z1)
923 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
924 game:GetService("Debris"):AddItem(prt, 10)
925 table.insert(Effects, {
926 prt,
927 "Cylinder",
928 delay,
929 x3,
930 y3,
931 z3,
932 msh
933 })
934end
935function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
936 local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
937 prt.Anchored = true
938 prt.CFrame = cframe
939 local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
940 game:GetService("Debris"):AddItem(prt, 10)
941 table.insert(Effects, {
942 prt,
943 "Cylinder",
944 delay,
945 x3,
946 y3,
947 z3,
948 msh
949 })
950end
951function WaveEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
952 local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
953 prt.Anchored = true
954 prt.CFrame = cframe
955 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "264766957", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
956 game:GetService("Debris"):AddItem(prt, 10)
957 table.insert(Effects, {
958 prt,
959 "Cylinder",
960 delay,
961 x3,
962 y3,
963 z3,
964 msh
965 })
966end
967function SpecialEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
968 local prt = CreatePart(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
969 prt.Anchored = true
970 prt.CFrame = cframe
971 local msh = CreateMesh("SpecialMesh", prt, "FileMesh", "24388358", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
972 game:GetService("Debris"):AddItem(prt, 10)
973 table.insert(Effects, {
974 prt,
975 "Cylinder",
976 delay,
977 x3,
978 y3,
979 z3,
980 msh
981 })
982end
983function BreakEffect(brickcolor, cframe, x1, y1, z1)
984 local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
985 prt.Anchored = true
986 prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
987 local msh = CreateMesh("SpecialMesh", prt, "Sphere", "nil", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
988 local num = math.random(10, 50) / 1000
989 game:GetService("Debris"):AddItem(prt, 10)
990 table.insert(Effects, {
991 prt,
992 "Shatter",
993 num,
994 prt.CFrame,
995 math.random() - math.random(),
996 0,
997 math.random(50, 100) / 100
998 })
999end
1000function CreateSound(ID, PARENT, VOLUME, PITCH)
1001 local NEWSOUND = nil
1002 coroutine.resume(coroutine.create(function()
1003 NEWSOUND = Instance.new("Sound", PARENT)
1004 NEWSOUND.Volume = VOLUME
1005 NEWSOUND.Pitch = PITCH
1006 NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
1007 swait()
1008 NEWSOUND:play()
1009 game:GetService("Debris"):AddItem(NEWSOUND, 10)
1010 end))
1011 return NEWSOUND
1012end
1013
1014
1015--[[
1016 Thanks for using Build-To-Lua by jarredbcv.
1017]]--
1018
1019New = function(Object, Parent, Name, Data)
1020 local Object = Instance.new(Object)
1021 for Index, Value in pairs(Data or {}) do
1022 Object[Index] = Value
1023 end
1024 Object.Parent = Parent
1025 Object.Name = Name
1026 return Object
1027end
1028
1029XBlade = New("Model",char,"XBlade",{})
1030Handle = New("Part",XBlade,"Handle",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Shape = Enum.PartType.Cylinder,Size = Vector3.new(2, 0.119999982, 0.119999982),CFrame = CFrame.new(-44.0486794, 1.89940667, 173.921341, 0.99009043, -0.134159163, -0.0414969474, 0.0418755226, -2.00014849e-09, 0.999122798, -0.134041354, -0.990959466, 0.00561797712),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1031Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.3519974, 0.784493208, 173.553787, 0.134159118, 0.931669831, -0.337627381, -1.78345172e-10, 0.340707511, 0.940169215, 0.990959346, -0.126132146, 0.0457089804),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1032mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.93166995, 0.340707511, -0.12613225, -0.337627441, 0.940169275, 0.0457090214),C1 = CFrame.new(2.67253876, 0.00244140625, -1.22790456, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1033Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0702477, 1.93928599, 173.921783, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1034mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, 0.0407419205, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1035Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.7464447, 1.01027775, 173.471802, 0.134159118, 0.903306067, -0.407478601, -1.78345172e-10, 0.411195904, 0.911546826, 0.990959346, -0.122292183, 0.0551656336),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1036mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.903306186, 0.411195934, -0.122292288, -0.40747866, 0.911546886, 0.0551656857),C1 = CFrame.new(3.29253769, 0.00245666504, -1.02790737, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1037Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.130000025),CFrame = CFrame.new(-39.0396805, 1.93485165, 173.240723, 0.134159118, 0.86384666, -0.48556143, -1.78345172e-10, 0.489991099, 0.871727467, 0.990959346, -0.116950043, 0.065736711),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1038mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863846779, 0.489991099, -0.116950139, -0.48556149, 0.871727467, 0.0657367632),C1 = CFrame.new(5.05207825, 0.00245666504, -0.176268101, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1039Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-40.2101974, 1.23313034, 173.3992, 0.134159118, 0.88381362, -0.448190004, -1.78345172e-10, 0.452278793, 0.891876459, 0.990959346, -0.119653247, 0.0606772564),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1040mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.883813798, 0.452278793, -0.119653352, -0.448190093, 0.891876578, 0.0606773123),C1 = CFrame.new(3.84253311, 0.00245666504, -0.827910662, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1041Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-41.9794464, 0.607830167, 173.638718, 0.134159118, 0.966715217, -0.217858434, -1.78345172e-10, 0.219845936, 0.975534439, 0.990959346, -0.130876735, 0.0294943117),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1042mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.966715395, 0.219845951, -0.130876839, -0.217858493, 0.975534499, 0.0294943396),C1 = CFrame.new(2.03252411, 0.00245666504, -1.37789822, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1043Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.08000004, 0.0500000156),CFrame = CFrame.new(-42.5497932, 0.498351336, 173.715927, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1044mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.45289612, 0.00247192383, -1.46317959, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1045Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.92999995, 0.0500000156),CFrame = CFrame.new(-44.0665131, 1.84935343, 173.92128, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1046mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(-0.019744873, 0.00245666504, -0.0492696762, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1047Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-42.5316505, 0.708744168, 173.713501, 0.134159118, 0.975934744, -0.171907738, -1.78345172e-10, 0.17347604, 0.984838009, 0.990959346, -0.132124841, 0.0232733674),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1048mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.975934923, 0.17347604, -0.132124975, -0.171907783, 0.984838068, 0.0232733898),C1 = CFrame.new(1.47999573, 0.00244140625, -1.25373793, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1049Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.079999879, 0.149999917, 0.100000016),CFrame = CFrame.new(-45.0332489, 1.85846865, 174.05719, 0.134159118, -0.0414969884, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418755673, 0.990959346, 0.00561798224, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1050mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, -0.0414970033, 0.999122858, 0.00561798783, -0.990090549, -0.0418755673, 0.134041384),C1 = CFrame.new(-0.994735718, -0.00253295898, 0.000717639923, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1051Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.52999997, 0.0500000156),CFrame = CFrame.new(-43.0991249, 1.12461293, 173.790329, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1052mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00244140625, -0.814253807, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1053Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Really Black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.8233681, 0.848814011, 173.617599, 0.134159118, 0.949757814, -0.282773912, -1.78345172e-10, 0.285353601, 0.958422184, 0.990959346, -0.128580973, 0.0382827483),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1054mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.949757874, 0.285353601, -0.128581077, -0.282773942, 0.958422303, 0.0382827818),C1 = CFrame.new(2.19998169, 0.00245666504, -1.14372134, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1055Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 0.0799999386, 0.0500000156),CFrame = CFrame.new(-43.1370964, 2.03881836, 173.795456, 0.134159118, -0.041496899, -0.99009037, -1.78345172e-10, 0.999122798, -0.0418754779, 0.990959346, 0.0056179706, 0.13404125),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1056mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 1.60021901e-16, 0.990959764, -0.0414969139, 0.999122858, 0.00561797619, -0.990090549, -0.0418754779, 0.134041384),C1 = CFrame.new(0.925262451, 0.00245666504, 0.100754261, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1057Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-38.9191017, 1.90829134, 173.224411, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1058mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.17253876, 0.00245666504, -0.207900524, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1059Wedge = New("WedgePart",XBlade,"Wedge",{BrickColor = BrickColor.new("Pearl"),Material = Enum.Material.Neon,Size = Vector3.new(0.0799999461, 4.97000027, 1.66999996),CFrame = CFrame.new(-40.6379662, 1.33008528, 173.459518, 0.134159088, 0.990090489, -0.0414969511, -3.48056417e-10, 0.0418755226, 0.999122798, 0.990959585, -0.134041339, 0.00561797852),BottomSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1060mot = New("Motor",Wedge,"mot",{Part0 = Wedge,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.41497803, 7.62939453e-05, -0.712950706, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1061Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-40.5334549, 1.31371856, 173.442963, 0.134159118, 0.888382077, -0.439065397, -1.78345172e-10, 0.443070978, 0.89648658, 0.990959346, -0.120271713, 0.059441939),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1062mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.888382196, 0.443070978, -0.120271817, -0.439065516, 0.89648664, 0.0594419949),C1 = CFrame.new(3.51998901, 0.00245666504, -0.733733177, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1063Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-39.8037491, 1.65485072, 173.344177, 0.134159118, 0.879470766, -0.456653416, -1.78345172e-10, 0.460819334, 0.887493968, 0.990959346, -0.1190653, 0.0618230514),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1064mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.879470944, 0.460819364, -0.119065404, -0.456653476, 0.887494028, 0.0618231073),C1 = CFrame.new(4.26998901, 0.00245666504, -0.423735619, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1065Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1.02999997, 0.0500000156),CFrame = CFrame.new(-38.633503, 2.03729534, 173.18576, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1066mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(5.46588898, 0.00244140625, -0.0910782814, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1067Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.0500000156),CFrame = CFrame.new(-39.5588799, 1.55094099, 173.311005, 0.134159118, 0.863252759, -0.486616373, -1.78345172e-10, 0.491055667, 0.871128023, 0.990959346, -0.116869673, 0.0658795312),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1068mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.863252878, 0.491055697, -0.11686977, -0.486616433, 0.871128082, 0.0658795834),C1 = CFrame.new(4.51252747, 0.00247192383, -0.537901878, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1069Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Dark indigo"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 5, 0.0500000156),CFrame = CFrame.new(-40.6833267, 2.18262863, 173.463257, 0.134159118, 0.99009037, -0.0414969437, -1.78345172e-10, 0.0418755226, 0.999122798, 0.990959346, -0.13404125, 0.00561797526),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.239216, 0.0823529, 0.521569),})
1070mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.990090549, 0.0418755226, -0.134041384, -0.0414969586, 0.999122858, 0.00561798085),C1 = CFrame.new(3.40526581, 0.00245666504, 0.140748024, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1071Part = New("Part",XBlade,"Part",{BrickColor = BrickColor.new("Institutional black"),Material = Enum.Material.Neon,Size = Vector3.new(0.0899998769, 1, 0.360000014),CFrame = CFrame.new(-41.1286964, 1.07836723, 173.523544, 0.134159118, 0.920541048, -0.36688596, -1.78345172e-10, 0.37023294, 0.928938925, 0.990959346, -0.124625482, 0.0496700779),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(255, 0, 0),})
1072mot = New("Motor",Part,"mot",{Part0 = Part,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0.134159088, 0, 0.990959764, 0.920541227, 0.37023297, -0.124625586, -0.36688602, 0.928938985, 0.0496701226),C1 = CFrame.new(2.9099884, 0.00245666504, -0.943724632, 0.990090549, 0.0418755226, -0.134041443, -0.134159133, -1.83043725e-09, -0.990959704, -0.0414969549, 0.999122798, 0.00561798038),})
1073
1074
1075for _, v in pairs(XBlade:GetChildren()) do
1076 if v:IsA'BasePart' then
1077 v.CanCollide = false
1078end
1079end
1080
1081
1082
1083local NewInstance = function(instance,parent,properties)
1084 local inst = Instance.new(instance,parent)
1085 if(properties)then
1086 for i,v in next, properties do
1087 pcall(function() inst[i] = v end)
1088 end
1089 end
1090 return inst;
1091end
1092local HW = NewInstance('Weld',char,{Part0=ra,Part1=Handle,C0 = CFrame.new(0,-.9,0)*CFrame.Angles(math.rad(-90),math.rad(0),math.rad(90))})
1093local Locket = NewInstance('Weld',char,{Part0=hed,Part1=String,C0 = CFrame.new(0,-.9,0.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
1094local HeartL = NewInstance('Weld',char,{Part0=hed,Part1=Handle2,C0 = CFrame.new(0,-1.3,-0.7)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0))})
1095
1096
1097
1098
1099--Chat Function--
1100function chatfunc(text,waitt)
1101local chat = coroutine.wrap(function()
1102if char:FindFirstChild("TalkingBillBoard")~= nil then
1103char:FindFirstChild("TalkingBillBoard").Parent = nil
1104end
1105local naeeym2 = Instance.new("BillboardGui",char)
1106naeeym2.Size = UDim2.new(0,100,0,40)
1107naeeym2.StudsOffset = Vector3.new(0,2,0)
1108naeeym2.Adornee = char.Head
1109naeeym2.Name = "TalkingBillBoard"
1110naeeym2.AlwaysOnTop = true
1111local tecks2 = Instance.new("TextLabel",naeeym2)
1112tecks2.BackgroundTransparency = 1
1113tecks2.BorderSizePixel = 0
1114tecks2.Text = ""
1115tecks2.Font = "Code"
1116tecks2.TextSize = 30
1117tecks2.TextStrokeTransparency = 0
1118tecks2.TextColor3 = Color3.fromRGB(255, 0, 0)
1119tecks2.TextStrokeColor3 = Color3.fromRGB(255, 0, 0)
1120tecks2.Size = UDim2.new(1,0,0.5,0)
1121for i = 1,string.len(text),1 do
1122tecks2.Text = string.sub(text,1,i)
1123swait(3)
1124end
1125wait(waitt/10)
1126coroutine.resume(coroutine.create(function()
1127 for i = 1, 10 do
1128 tecks2.TextTransparency = tecks2.TextTransparency + 0.1
1129 swait()
1130 end
1131 naeeym2:Destroy()
1132end))
1133end)
1134chat()
1135end
1136
1137local asd = Instance.new("ParticleEmitter")
1138asd.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(.255, 0, 0))
1139asd.LightEmission = .1
1140asd.Size = NumberSequence.new(0.2)
1141asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
1142aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
1143bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
1144asd.Transparency = bbb
1145asd.Size = aaa
1146asd.ZOffset = .9
1147asd.Acceleration = Vector3.new(0, -5, 0)
1148asd.LockedToPart = false
1149asd.EmissionDirection = "Back"
1150asd.Lifetime = NumberRange.new(1, 2)
1151asd.Rotation = NumberRange.new(-100, 100)
1152asd.RotSpeed = NumberRange.new(-100, 100)
1153asd.Speed = NumberRange.new(2)
1154asd.Enabled = false
1155asd.VelocitySpread = 10000
1156
1157function bleed(victim,amount)
1158local prtcl = asd:Clone()
1159prtcl.Parent = victim
1160prtcl:Emit(amount)
1161end
1162
1163
1164function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
1165 local NEWMESH = Instance.new(MESH)
1166 if MESH == "SpecialMesh" then
1167 NEWMESH.MeshType = MESHTYPE
1168 if MESHID ~= "nil" and MESHID ~= "" then
1169 NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
1170 end
1171 if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
1172 NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
1173 end
1174 end
1175 NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
1176 NEWMESH.Scale = SCALE
1177 NEWMESH.Parent = PARENT
1178 return NEWMESH
1179end
1180
1181function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
1182 local NEWPART = Instance.new("Part")
1183 NEWPART.formFactor = FORMFACTOR
1184 NEWPART.Reflectance = REFLECTANCE
1185 NEWPART.Transparency = TRANSPARENCY
1186 NEWPART.CanCollide = false
1187 NEWPART.Locked = true
1188 NEWPART.Anchored = true
1189 if ANCHOR == false then
1190 NEWPART.Anchored = false
1191 end
1192 NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
1193 NEWPART.Name = NAME
1194 NEWPART.Size = SIZE
1195 NEWPART.Position = tors.Position
1196 NEWPART.Material = MATERIAL
1197 NEWPART:BreakJoints()
1198 NEWPART.Parent = PARENT
1199 return NEWPART
1200end
1201
1202local function weldBetween(a, b)
1203 local weldd = Instance.new("ManualWeld")
1204 weldd.Part0 = a
1205 weldd.Part1 = b
1206 weldd.C0 = CFrame.new()
1207 weldd.C1 = b.CFrame:inverse() * a.CFrame
1208 weldd.Parent = a
1209 return weldd
1210 end
1211
1212function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
1213local acs = Instance.new("Part")
1214acs.CanCollide = false
1215acs.Anchored = false
1216acs.Size = Vector3.new(0,0,0)
1217acs.CFrame = attachmentpart.CFrame
1218acs.Parent = char
1219acs.BrickColor = color
1220 local meshs = Instance.new("SpecialMesh")
1221 meshs.MeshId = mesh
1222 meshs.TextureId = texture
1223 meshs.Parent = acs
1224 meshs.Scale = scale
1225 meshs.Offset = offset
1226weldBetween(attachmentpart,acs)
1227end
1228
1229local accessories = Instance.new("Folder",char)
1230accessories.Name = "Add-ons"
1231
1232function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
1233if TYPE == "Gem" then
1234 local acs = CreatePart(3, accessories, "Plastic", 0, 0, "COLOR", "Part", Vector3.new(0,0,0))
1235 acs.Anchored = false
1236 acs.CanCollide = false
1237 acs.CFrame = PART.CFrame
1238 local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
1239weldBetween(PART,acs)
1240elseif TYPE == "Skull" then
1241 local acs = CreatePart(3, accessories, "Plastic", 0, 0, "COLOR", "Part", Vector3.new(0,0,0))
1242 acs.Anchored = false
1243 acs.CanCollide = false
1244 acs.CFrame = PART.CFrame
1245 local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
1246weldBetween(PART,acs)
1247elseif TYPE == "Eye" then
1248 local acs = CreatePart(3, accessories, "Neon", 0 , 0, "COLOR", "Part", Vector3.new(0,0,0))
1249 acs.Anchored = false
1250 acs.CanCollide = false
1251 acs.CFrame = PART.CFrame
1252 local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
1253weldBetween(PART,acs)
1254end
1255end
1256
1257
1258createbodypart("Eye","Really black",hed,Vector3.new(0.2, 0.17, -0.55),Vector3.new(3,5,3))
1259createbodypart("Eye","White",hed,Vector3.new(-0.2, 0.17, -0.55),Vector3.new(3,5,3))
1260
1261--Extras--
1262
1263--Scarfs--
1264local Blobby = Instance.new("Part", char)
1265Blobby.Name = "Blob"
1266Blobby.CanCollide = false
1267Blobby.BrickColor = BrickColor.new("Institutional black")
1268Blobby.Transparency = 0
1269Blobby.Material = "Plastic"
1270Blobby.Size = Vector3.new(1, 1, 2)
1271Blobby.TopSurface = Enum.SurfaceType.Smooth
1272Blobby.BottomSurface = Enum.SurfaceType.Smooth
1273
1274local Weld = Instance.new("Weld", Blobby)
1275Weld.Part0 = hed
1276Weld.Part1 = Blobby
1277Weld.C1 = CFrame.new(0, 1.1, 0)
1278Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
1279
1280local M2 = Instance.new("SpecialMesh")
1281M2.Parent = Blobby
1282M2.MeshId = "http://www.roblox.com/asset/?id=0"
1283M2.Scale = Vector3.new(0.8, 0.8, 0.8)
1284
1285local Blobby2 = Instance.new("Part", char)
1286Blobby2.Name = "Blob"
1287Blobby2.CanCollide = false
1288Blobby2.BrickColor = BrickColor.new("Neon")
1289Blobby2.Transparency = 0
1290Blobby2.Material = "Plastic"
1291Blobby2.Size = Vector3.new(1, 1, 2)
1292Blobby2.TopSurface = Enum.SurfaceType.Smooth
1293Blobby2.BottomSurface = Enum.SurfaceType.Smooth
1294
1295local Weld = Instance.new("Weld", Blobby2)
1296Weld.Part0 = hed
1297Weld.Part1 = Blobby2
1298Weld.C1 = CFrame.new(0, 1.2, 0)
1299Weld.C0 = CFrame.Angles(math.rad(0),math.rad(180),0)
1300
1301local M2 = Instance.new("SpecialMesh")
1302M2.Parent = Blobby2
1303M2.MeshId = "http://www.roblox.com/asset/?id=0"
1304M2.Scale = Vector3.new(0.8, 0.8, 0.8)
1305
1306--Hair--
1307local Hair = Instance.new("Part", char)
1308Hair.Name = "Hair"
1309Hair.CanCollide = false
1310Hair.BrickColor = BrickColor.new("Institutional black")
1311Hair.Transparency = 0
1312Hair.Material = "Plastic"
1313Hair.Size = Vector3.new(1, 1, 2)
1314Hair.TopSurface = Enum.SurfaceType.Smooth
1315Hair.BottomSurface = Enum.SurfaceType.Smooth
1316
1317local Weld = Instance.new("Weld", Hair)
1318Weld.Part0 = hed
1319Weld.Part1 = Hair
1320Weld.C1 = CFrame.new(0, -.5, 0)
1321Weld.C0 = CFrame.Angles(math.rad(0),math.rad(0),0)
1322
1323local M2 = Instance.new("SpecialMesh")
1324M2.Parent = Hair
1325M2.MeshId = "http://www.roblox.com/asset/?id=0"
1326M2.Scale = Vector3.new(1.2, 1.1, 1.1)
1327
1328--Hood--
1329local Hood = Instance.new("Part", char)
1330Hood.Name = "Hood"
1331Hood.CanCollide = false
1332Hood.BrickColor = BrickColor.new("Institutional black")
1333Hood.Transparency = 0
1334Hood.Material = "Plastic"
1335Hood.Size = Vector3.new(1, 1, 2)
1336Hood.TopSurface = Enum.SurfaceType.Smooth
1337Hood.BottomSurface = Enum.SurfaceType.Smooth
1338
1339local Weld = Instance.new("Weld", Hood)
1340Weld.Part0 = tors
1341Weld.Part1 = Hood
1342Weld.C1 = CFrame.new(0, .4, -.9)
1343Weld.C0 = CFrame.Angles(math.rad(-0),math.rad(0),math.rad(180))
1344
1345local M2 = Instance.new("SpecialMesh")
1346M2.Parent = Hood
1347M2.MeshId = "http://www.roblox.com/asset/?id=0"
1348M2.Scale = Vector3.new(0.922, 0.922, 0.922)
1349hed.face.Texture = "http://www.roblox.com/asset/?id=176217905"
1350
1351
1352
1353Slashy = Instance.new("Sound", ra)
1354Slashy.Volume = 5
1355Slashy.Pitch = 1
1356Slashy.SoundId = "http://www.roblox.com/asset/?id=978101945"
1357Slashy.Looped = false
1358
1359local VALUE1 = false
1360local sine=0
1361for _, v in pairs(XBlade:GetChildren()) do
1362 if v:IsA'BasePart' then
1363 v.CanCollide = false
1364 v.Transparency = 1
1365end
1366end
1367function intro()
1368attack = true
1369chatfunc("Made by Vecera a Ozzak1003.",3)
1370hum.WalkSpeed = 0
1371for i = 0,6,0.1 do
1372 swait()
1373 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1374tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1375RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1376LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1377RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1378LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1379HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1380end
1381wait(2.5)
1382chatfunc("Now nahid will pay for his faults.",3)
1383wait(2.5)
1384for i = 0,6,0.1 do
1385 swait()
1386 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1387tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1388RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1389LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1390RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1391LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1392HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1393end
1394wait(2.5)
1395chatfunc("Now i will kill every nahid that exists.",3)
1396wait(2.5)
1397for i = 0,6,0.1 do
1398 swait()
1399 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1400tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1401RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1402LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1403RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1404LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1405HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1406end
1407wait(2.5)
1408chatfunc("It will be fun >:).",5)
1409wait(2.5)
1410for i = 0,6,0.1 do
1411 swait()
1412 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1413tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1414RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1415LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1416RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(5)), 0.1)
1417LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1418HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1419end
1420wait(2.5)
1421chatfunc("Welcome to world without nahid.",5)
1422wait(2.5)
1423
1424for i = 0,6,0.1 do
1425swait()
1426for _, v in pairs(XBlade:GetChildren()) do
1427 if v:IsA'BasePart' then
1428 v.CanCollide = false
1429 v.Transparency = v.Transparency - .3
1430end
1431end
1432rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1433tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1434RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1435LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1436RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(5)), 0.1)
1437LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-5)), 0.1)
1438HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(180)), 0.15)
1439end
1440wait(4.5)
1441chatfunc("Oh yeah and dont you dare Clon99 saying this is your script",5)
1442wait(2.5)
1443CreateSound("367453005", hed, 10, 1)
1444ShadowHead = New("Part",char,"ShadowHead",{CanCollide = false,BrickColor = BrickColor.new("Neon"),Size = Vector3.new(1.20000005, 0.600000024, 1),CFrame = CFrame.new(68.5999985, 0.700013041, 9.89999962, 1, 0, 0, 0, 1, 0, 0, 0, 1),Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
1445Mesh = New("SpecialMesh",ShadowHead,"Mesh",{Scale = Vector3.new(1.25999999, 1.5, 1.25999999),})
1446Weld = New("Weld",ShadowHead,"mot",{Part0 = ShadowHead,Part1 = char.Head,C1 = CFrame.new(0, 0.200000048, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
1447Effects.Ring.Create(BrickColor.new("Institutional black"), tors.CFrame*angles(math.rad(90),math.rad(0),math.rad(0)), 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1448Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
1449Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
1450Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
1451Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
1452Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
1453local bigboi = Instance.new("Sound",tors)
1454bigboi.SoundId = "rbxassetid://570556587"
1455bigboi.Volume = 2.5
1456bigboi.Looped = true
1457bigboi.Pitch = 1
1458bigboi:Play()
1459attack = false
1460VALUE1 = true
1461hum.WalkSpeed = 28
1462end
1463
1464
1465
1466
1467
1468function NothingPersonal()
1469 if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
1470 local HITBODY = mouse.Target.Parent
1471 local TORS = HITBODY:FindFirstChild("Torso") or HITBODY:FindFirstChild("UpperTorso")
1472 local HUMAN = mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
1473 if TORS ~= nil and HUMAN ~= nil then
1474 attack = true
1475 hum.WalkSpeed = 0
1476 root.CFrame = TORS.CFrame * CFrame.new(-1,0,6)
1477 TORS.Anchored = true
1478 CreateSound("367453005", hed, 10, 1)
1479 Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1480 for i = 0,6,0.1 do
1481 swait()
1482 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(-20)),0.15)
1483tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
1484RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1485LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1486RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(125)), 0.1)
1487LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.1)
1488HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1489 end
1490 CreateSound("357417055", hed, 10, 1)
1491 for i = 0,4,0.1 do
1492 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))*angles(math.rad(5),math.rad(0),math.rad(45)),0.15)
1493tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
1494RH.C0=clerp(RH.C0,cf(1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*RHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1495LH.C0=clerp(LH.C0,cf(-1,-0.9-0.1*math.cos(sine/20),0.025*math.cos(sine/20))*LHCF*angles(math.rad(-2),math.rad(0),math.rad(0)),0.15)
1496RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.1)
1497LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(0), math.rad(-15)), 0.1)
1498HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(90),math.rad(0)), 0.15)
1499 end
1500 wait(2.5)
1501 CreateSound("623904185", hed, 10, 1)
1502 HITBODY:BreakJoints()
1503 TORS.Anchored = false
1504 attack = false
1505 hum.WalkSpeed = 28
1506 bleed(TORS,25)
1507 end
1508 end
1509end
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522---ATTACKS N STUFF
1523function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
1524 Hitboxpart = Instance.new("Part", EffectModel)
1525 RemoveOutlines(Hitboxpart)
1526 Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
1527 Hitboxpart.CanCollide = false
1528 Hitboxpart.Transparency = 1
1529 Hitboxpart.Anchored = true
1530 Hitboxpart.CFrame = Pose
1531 game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
1532 MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
1533end
1534wait2 = false
1535combo = 1
1536mouse.Button1Down:connect(function(key)
1537 if attack == false then
1538 attack = true
1539 hum.WalkSpeed = 3.01
1540 if combo == 1 and wait2 == false then
1541 wait2 = true
1542 for i = 0, 1.2, 0.1 do
1543 swait()
1544 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
1545 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1546 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(175), math.rad(0), math.rad(0)), 0.1)
1547 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1548 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
1549 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
1550 end
1551Effects.Ring.Create(BrickColor.new("Institutional black"), ra.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1552Slashy:Play()
1553 HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1554 for i = 0, 1.2, 0.1 do
1555 swait()
1556 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(15)), 0.3)
1557 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1558 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.8) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.1)
1559 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1560 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
1561 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
1562 end
1563 combo = 2
1564 end
1565 if combo == 2 and wait2 == false then
1566 wait2 = true
1567 HitboxFunction(ll.CFrame * CFrame.new(0, 0, .4), 0.01, 1, 1, 1, 7, 10, 20, 3, "Normal")
1568 for i = 0, 1.4, 0.1 do
1569 swait()
1570 rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(-20),math.rad(0),math.rad(0)),0.15)
1571 tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
1572 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(10)), 0.3)
1573 LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-4.5)),0.15)
1574 RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(90),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1575 LH.C0=clerp(LH.C0,cf(-1,-1,-1)*angles(math.rad(-60),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1576 end
1577 combo = 3
1578 end
1579 if combo == 3 and wait2 == false then
1580 wait2 = true
1581
1582 for i = 0, 1.2, 0.1 do
1583 swait()
1584 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(-5), math.rad(0), math.rad(-15)), 0.3)
1585 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1586 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0.8) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.1)
1587 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1588 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, -0.2) * RHCF * angles(math.rad(0), math.rad(0), math.rad(-0)), 0.3)
1589 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(15), math.rad(-20)), 0.3)
1590 end
1591 HitboxFunction(Wedge.CFrame * CFrame.new(0, 0, -.9), 0.01, 1, 1, 1, 7, 24, 36, 3, "Normal")
1592 Effects.Ring.Create(BrickColor.new("Institutional black"), Wedge.CFrame, 2, 2, 2, 0.1, 0.1, 0.1, 0.03)
1593Slashy:Play()
1594 for i = 0, 1.2, 0.1 do
1595 swait()
1596 rootj.C0 = clerp(rootj.C0, RootCF * CFrame.new(0, -0.5, 0) * angles(math.rad(5), math.rad(0), math.rad(30)), 0.3)
1597 tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(0)), 0.1)
1598 RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -1) * angles(math.rad(55), math.rad(0), math.rad(40)), 0.1)
1599 LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(-10)), 0.3)
1600 RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * angles(math.rad(0), math.rad(-15), math.rad(-20)), 0.3)
1601 LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * angles(math.rad(0), math.rad(-0), math.rad(0)), 0.3)
1602 end
1603 combo = 1
1604 end
1605 hum.WalkSpeed = 16
1606 wait2 = false
1607 attack = false
1608 end
1609end)
1610
1611
1612local Color = 0,0,0
1613
1614local Num = 0.5
1615
1616local Num2 = 4 -------------Mods:1,4,8,10,15,20-------------------------------------
1617local Size = 0.8
1618local Rate = 300
1619-------------------------------------------------------------------------------------
1620local Player = game:service'Players'.LocalPlayer
1621local Character = Player.Character
1622Torso = Character:WaitForChild'Torso'
1623
1624local Wing1 = Instance.new("Part",Character)
1625Wing1.FormFactor = Enum.FormFactor.Custom
1626Wing1.Size = Vector3.new(.2, .2, .2)
1627Wing1.Name = "WIng_1"
1628
1629local fire = Instance.new("ParticleEmitter", Wing1)
1630fire.VelocitySpread = 0
1631fire.Lifetime = NumberRange.new(2)
1632fire.Acceleration = Vector3.new(0, 2, 2)
1633fire.RotSpeed = NumberRange.new(10)
1634fire.Rate = Rate
1635fire.Rotation = NumberRange.new(151515)
1636fire.Name = "Fire"
1637fire.LightEmission = 0.78
1638fire.LockedToPart = true
1639fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1640fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1641fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1642
1643local Wing2 = Wing1:Clone()
1644Wing2.Parent = Torso
1645local x,y,z = 0,-1,-6
1646
1647Wld = function(a,b,cf)
1648local Weld = Instance.new('Weld',a)
1649Weld.Part0 = a
1650Weld.Part1 = b
1651Weld.C1 = cf
1652return Weld
1653end
1654
1655local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
1656local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
1657
1658
1659game:service'RunService'.Stepped:connect(function()
1660--z = 6+math.sin(tick()*2)
1661y = -1+math.sin(tick()*Num)*Num2
1662Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1663Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1664end)
1665------------------------------------------------------------------------------------------------
1666local Player = game:service'Players'.LocalPlayer
1667local Character = Player.Character
1668Torso = Character:WaitForChild'Torso'
1669
1670local Wing1 = Instance.new("Part",Character)
1671Wing1.FormFactor = Enum.FormFactor.Custom
1672Wing1.Size = Vector3.new(.2, .2, .2)
1673Wing1.Name = "WIng_1"
1674
1675local fire = Instance.new("ParticleEmitter", Wing1)
1676fire.VelocitySpread = 0
1677fire.Lifetime = NumberRange.new(2.5)
1678fire.Acceleration = Vector3.new(0, 4, 4)
1679fire.RotSpeed = NumberRange.new(10)
1680fire.Rate = Rate
1681fire.Rotation = NumberRange.new(151515)
1682fire.Name = "Fire"
1683fire.LightEmission = 0.78
1684fire.LockedToPart = true
1685fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1686fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1687fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1688
1689local Wing2 = Wing1:Clone()
1690Wing2.Parent = Torso
1691local x,y,z = 0,-1,-6
1692
1693Wld = function(a,b,cf)
1694local Weld = Instance.new('Weld',a)
1695Weld.Part0 = a
1696Weld.Part1 = b
1697Weld.C1 = cf
1698return Weld
1699end
1700
1701local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
1702local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(30),-math.rad(90)))
1703
1704print'Loaded'
1705
1706game:service'RunService'.Stepped:connect(function()
1707--z = 6+math.sin(tick()*2)
1708y = -1+math.sin(tick()*Num)*Num2
1709Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1710Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1711end)
1712
1713------------------------------------------------------------------------------------------------
1714local Player = game:service'Players'.LocalPlayer
1715local Character = Player.Character
1716Torso = Character:WaitForChild'Torso'
1717
1718local Wing1 = Instance.new("Part",Character)
1719Wing1.FormFactor = Enum.FormFactor.Custom
1720Wing1.Size = Vector3.new(.2, .2, .2)
1721Wing1.Name = "WIng_1"
1722
1723local fire = Instance.new("ParticleEmitter", Wing1)
1724fire.VelocitySpread = 0
1725fire.Lifetime = NumberRange.new(2.8)
1726fire.Acceleration = Vector3.new(0, 4, 4)
1727fire.RotSpeed = NumberRange.new(10)
1728fire.Rate = Rate
1729fire.Rotation = NumberRange.new(151515)
1730fire.Name = "Fire"
1731fire.LightEmission = 0.78
1732fire.LockedToPart = true
1733fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1734fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1735fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1736
1737local Wing2 = Wing1:Clone()
1738Wing2.Parent = Torso
1739local x,y,z = 0,-1,-6
1740
1741Wld = function(a,b,cf)
1742local Weld = Instance.new('Weld',a)
1743Weld.Part0 = a
1744Weld.Part1 = b
1745Weld.C1 = cf
1746return Weld
1747end
1748
1749local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
1750local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(40),-math.rad(90)))
1751
1752print'Loaded'
1753
1754game:service'RunService'.Stepped:connect(function()
1755--z = 6+math.sin(tick()*2)
1756y = -1+math.sin(tick()*Num)*Num2
1757Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1758Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1759end)
1760
1761
1762
1763function DashingSpin()
1764 attack = true
1765 hum.WalkSpeed = 0
1766 CreateSound("707957812", workspace, 5, 1)
1767Effects.Block.Create(BrickColor.new("Institutional black"), tors.CFrame, 2, 2, 2, 3.6, 3.6, 3.6, 0.05)
1768 Effects.Block.Create(BrickColor.new("Neon"), tors.CFrame, 2, 2, 2, 3.4, 3.4, 3.4, 0.03)
1769Effects.Block.Create(BrickColor.new("Institutional black"), tors.CFrame, 2, 2, 2, 6.6, 6.6, 6.6, 0.05)
1770 Effects.Block.Create(BrickColor.new("Neon"), tors.CFrame, 2, 2, 2, 6.4, 6.4, 6.4, 0.05)
1771 Effects.Block.Create(BrickColor.new("Neon"), tors.CFrame, 2, 2, 2, 10.5, 10.5, 10.5, 0.05)
1772
1773Effects.Ring.Create(BrickColor.new("Institutional black"), tors.CFrame, 2, 2, 2, 7.6, 7.6, 7.6, 0.03)
1774Effects.Sphere.Create(maincolor, tors.CFrame, 2, 2, 2, 17.6, 17.6, 17.6, 0.02)
1775Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 10.6, 10.6, 10.6, 0.02)
1776Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 14.6, 14.6, 14.6, 0.02)
1777Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 16.6, 16.6, 16.6, 0.02)
1778Effects.Sphere.Create(BrickColor.new("Dark indigo"), tors.CFrame, 2, 2, 2, 5.6, 5.6, 5.6, 0.02)
1779 root.CFrame = root.CFrame + root.CFrame.lookVector * 35
1780 for i = 0,6,0.1 do
1781--Not to put a swait here this is going to be like, you know what just dont put a swait kthx
1782rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25)*angles(math.rad(0),math.rad(0),math.rad(0)),0.15)
1783tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(0)),0.15)
1784RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110), math.rad(90)), 0.1)
1785LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0),math.rad(0),math.rad(-4.5)),0.15)
1786RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1787LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1788HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1789 end
1790 for i = 0,9,0.1 do
1791 swait()
1792 MagniDamage(Wedge, 12, 6, 12, 10, "Normal")
1793rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,-1.25+0.45*i)*angles(math.rad(0),math.rad(0),math.rad(0-255.45*i)),0.15)
1794tors.Neck.C0=clerp(tors.Neck.C0,necko*cf(0,0,0)*angles(math.rad(30-5.35*i),math.rad(0),math.rad(0)),0.15)
1795RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.05*math.sin(sine/30), 0) * angles(math.rad(0), math.rad(110-25.35*i), math.rad(90)), 0.1)
1796LW.C0=clerp(LW.C0,CFrame.new(-1.5,0.4,0)*angles(math.rad(0+17.35*i),math.rad(0-25.35*i),math.rad(-4.5)),0.15)
1797RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-60+10.35*i),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),0.15)
1798LH.C0=clerp(LH.C0,cf(-0.75,0.25,-1)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),0.15)
1799HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1800 end
1801 attack = false
1802 hum.WalkSpeed = 28
1803end
1804
1805
1806local Player = game:service'Players'.LocalPlayer
1807local Character = Player.Character
1808Torso = Character:WaitForChild'Torso'
1809
1810local Wing1 = Instance.new("Part",Character)
1811Wing1.FormFactor = Enum.FormFactor.Custom
1812Wing1.Size = Vector3.new(.2, .2, .2)
1813Wing1.Name = "WIng_1"
1814
1815local fire = Instance.new("ParticleEmitter", Wing1)
1816fire.VelocitySpread = 0
1817fire.Lifetime = NumberRange.new(2)
1818fire.Acceleration = Vector3.new(0, 2, 2)
1819fire.RotSpeed = NumberRange.new(10)
1820fire.Rate = Rate
1821fire.Rotation = NumberRange.new(151515)
1822fire.Name = "Fire"
1823fire.LightEmission = 0.78
1824fire.LockedToPart = true
1825fire.Texture = "rbxasset://textures/particles/explosion01_implosion_main.dds"
1826fire.Color = ColorSequence.new(Color3.new(Color), Color3.new(Color))
1827fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, Size), NumberSequenceKeypoint.new(1, Size)})
1828
1829local Wing2 = Wing1:Clone()
1830Wing2.Parent = Torso
1831local x,y,z = 0,-1,-6
1832
1833Wld = function(a,b,cf)
1834local Weld = Instance.new('Weld',a)
1835Weld.Part0 = a
1836Weld.Part1 = b
1837Weld.C1 = cf
1838return Weld
1839end
1840
1841local wld = Wld(Torso,Wing1,CFrame.new(0,0,-.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
1842local wld2 = Wld(Torso,Wing2,CFrame.new(0,0,.5)*CFrame.Angles(-math.rad(90),-math.rad(20),-math.rad(90)))
1843
1844
1845game:service'RunService'.Stepped:connect(function()
1846--z = 6+math.sin(tick()*2)
1847y = -1+math.sin(tick()*Num)*Num2
1848Wing1.Fire.Acceleration = Vector3.new(x,y,z)
1849Wing2.Fire.Acceleration = Vector3.new(x,y,-z)
1850end)
1851
1852
1853
1854
1855mouse.KeyDown:connect(function(key)
1856 if attack == false then
1857 if key == 'q' then
1858 NothingPersonal()
1859 elseif key == 'c' then
1860 CreateSound("367453005", hed, 10, 1)
1861 Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1862 root.CFrame = CFrame.new(CFrame.new(mouse.Hit.p)*CFrame.new(0,2.8,0).p,root.Position)
1863 Effects.Sphere.Create(maincolor, tors.CFrame * CFrame.new(0, -1.2, 0), 100, 100, 100, 15, 15, 15, .1, .1)
1864 elseif key == 'f' then
1865 DashingSpin()
1866 elseif key == 't' then
1867 CreateSound("1466932232", hed, 10, .89)
1868 end
1869 end
1870end)
1871
1872
1873
1874ff = Instance.new("ForceField",char)
1875ff.Visible = false
1876
1877local idle=0
1878local change = 1
1879local val = 0
1880toim = 0
1881hum.Animator.Parent = nil
1882idleanim=.4
1883while true do
1884swait()
1885hum.MaxHealth = math.huge
1886hum.Health = math.huge
1887hum.Name = "TheXEvent"
1888sine = sine + change
1889local torvel=(root.Velocity*Vector3.new(1,0,1)).magnitude
1890local velderp=root.Velocity.y
1891hitfloor,posfloor=rayCast(root.Position,(CFrame.new(root.Position,root.Position - Vector3.new(0,1,0))).lookVector,4,char)
1892if equipped==true or equipped==false then
1893if attack==false then
1894idle=idle+1
1895else
1896idle=0
1897end
1898if root.Velocity.y > 1 and hitfloor==nil then
1899Anim="Jump"
1900if attack==false then
1901rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(10),math.rad(0),math.rad(0)),.3)
1902tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1903RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
1904LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
1905LH.C0=clerp(LH.C0,cf(-1,-.9-0.1*math.cos(sine/20),-0.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1906RH.C0=clerp(RH.C0,cf(1,-1,0.3)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1907end
1908elseif root.Velocity.y < -1 and hitfloor==nil then
1909Anim="Fall"
1910if attack==false then
1911rootj.C0 = clerp(rootj.C0,RootCF*cf(0,0,-0.1+0.1*math.cos(sine/20))* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
1912tors.Neck.C0 = clerp(tors.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
1913RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(90)), 0.3)
1914LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(-90)), 0.3)
1915LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.6)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1916RH.C0=clerp(RH.C0,cf(1,-.3-0.1*math.cos(sine/20),-.6)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
1917end
1918elseif torvel<1 and hitfloor~=nil then
1919Anim="Idle"
1920change = 1
1921if attack==false then
1922rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(0),math.rad(0),math.rad(43)),0.15)
1923tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-25)),.3)
1924RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
1925LH.C0=clerp(LH.C0,cf(-1,-.6-0.1*math.cos(sine/20),-.085)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(0)),0.15)
1926RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-40), math.rad(15)), 0.1)
1927LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
1928HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1929end
1930
1931elseif (tors.Velocity).magnitude < 50 and hitfloor ~= nil then
1932Anim="Walk"
1933change = 1
1934if attack==false then
1935rootj.C0=clerp(rootj.C0,RootCF*cf(0,0,0.6+0.5*math.cos(sine/20))*angles(math.rad(20),math.rad(0),math.rad(0)),0.15)
1936tors.Neck.C0=clerp(tors.Neck.C0,necko*angles(math.rad(-2.5*math.cos(sine/20)),math.rad(0),math.rad(-0)),.3)
1937RH.C0=clerp(RH.C0,cf(1,-.9-0.1*math.cos(sine/20),.025*math.cos(sine/20))*RHCF*angles(math.rad(-5),math.rad(0),math.rad(0)),0.15)
1938LH.C0=clerp(LH.C0,cf(-1,-.4-0.1*math.cos(sine/20),-.3)*LHCF*angles(math.rad(-5),math.rad(-0),math.rad(20)),0.15)
1939RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0),math.rad(-5), math.rad(15)), 0.1)
1940LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.1*math.sin(sine/30), 0.055*math.cos(sine/20)) * angles(math.rad(0), math.rad(-0), math.rad(-10)), 0.1)
1941HW.C0 = clerp(HW.C0, CFrame.new(0,-.9,0)*angles (math.rad(-90),math.rad(0),math.rad(90)), 0.15)
1942end
1943end
1944end
1945
1946if 0 < #Effects then
1947 for e = 1, #Effects do
1948 if Effects[e] ~= nil then
1949 local Thing = Effects[e]
1950 if Thing ~= nil then
1951 local Part = Thing[1]
1952 local Mode = Thing[2]
1953 local Delay = Thing[3]
1954 local IncX = Thing[4]
1955 local IncY = Thing[5]
1956 local IncZ = Thing[6]
1957 if 1 >= Thing[1].Transparency then
1958 if Thing[2] == "Block1" then
1959 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
1960 local Mesh = Thing[1].Mesh
1961 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1962 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1963 elseif Thing[2] == "Block2" then
1964 Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
1965 local Mesh = Thing[7]
1966 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1967 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1968 elseif Thing[2] == "Block3" then
1969 Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
1970 local Mesh = Thing[7]
1971 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1972 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1973 elseif Thing[2] == "Cylinder" then
1974 local Mesh = Thing[1].Mesh
1975 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1976 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1977 elseif Thing[2] == "Blood" then
1978 local Mesh = Thing[7]
1979 Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
1980 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
1981 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1982 elseif Thing[2] == "Elec" then
1983 local Mesh = Thing[1].Mesh
1984 Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
1985 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1986 elseif Thing[2] == "Disappear" then
1987 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1988 elseif Thing[2] == "Shatter" then
1989 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
1990 Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
1991 Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
1992 Thing[6] = Thing[6] + Thing[5]
1993 end
1994 else
1995 Part.Parent = nil
1996 table.remove(Effects, e)
1997 end
1998 end
1999 end
2000 end
2001 end
2002if VALUE1 == false and attack == false then
2003 intro()
2004 end
2005end