Advertisement
Basykung7845

cross sans

May 24th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.10 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Basykung7845")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. Player=owner
  85. Character=Player.Character
  86. PlayerGui=Player.PlayerGui
  87. Backpack=Player.Backpack
  88. Torso=Character.Torso
  89. Head=Character.Head
  90. Humanoid=Character.Humanoid
  91. LeftArm=Character["Left Arm"]
  92. LeftLeg=Character["Left Leg"]
  93. RightArm=Character["Right Arm"]
  94. RightLeg=Character["Right Leg"]
  95. LS=Torso["Left Shoulder"]
  96. LH=Torso["Left Hip"]
  97. RS=Torso["Right Shoulder"]
  98. RH=Torso["Right Hip"]
  99. Face = Head.face
  100. Neck=Torso.Neck
  101. it=Instance.new
  102. attacktype=1
  103. vt=Vector3.new
  104. cf=CFrame.new
  105. euler=CFrame.fromEulerAnglesXYZ
  106. angles=CFrame.Angles
  107. cloaked=false
  108. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  109. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  110. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  111. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  112. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  113. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  114. RootPart=Character.HumanoidRootPart
  115. RootJoint=RootPart.RootJoint
  116. RootCF=euler(-1.57,0,3.14)
  117. attack = false
  118. attackdebounce = false
  119. deb=false
  120. equipped=true
  121. hand=false
  122. MMouse=nil
  123. combo=0
  124. mana=0
  125. trispeed=.2
  126. attackmode='none'
  127. local idle=0
  128. local Anim="Idle"
  129. local Effects={}
  130. local gun=false
  131. local shoot=false
  132. player=nil
  133. mana=0
  134. cam = workspace.CurrentCamera
  135. ZTarget = nil
  136. RocketTarget = nil
  137. Pocketed = true
  138. Aggro = true
  139. PowerBrickColor = BrickColor.new("Really red")
  140.  
  141. --save shoulders
  142. RSH, LSH=nil, nil
  143. --welds
  144. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  145. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  146. LH=Torso["Left Hip"]
  147. RH=Torso["Right Hip"]
  148. TorsoColor=Torso.BrickColor
  149. function NoOutline(Part)
  150. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  151. end
  152. player=Player
  153. ch=Character
  154. RSH=ch.Torso["Right Shoulder"]
  155. LSH=ch.Torso["Left Shoulder"]
  156. --
  157. RSH.Parent=nil
  158. LSH.Parent=nil
  159. --
  160. RW.Name="Right Shoulder"
  161. RW.Part0=ch.Torso
  162. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  163. RW.C1=cf(0, 0.5, 0)
  164. RW.Part1=ch["Right Arm"]
  165. RW.Parent=ch.Torso
  166. --
  167. LW.Name="Left Shoulder"
  168. LW.Part0=ch.Torso
  169. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  170. LW.C1=cf(0, 0.5, 0)
  171. LW.Part1=ch["Left Arm"]
  172. LW.Parent=ch.Torso
  173.  
  174.  
  175. function swait(num)
  176. if num == 0 or num == nil then
  177. game:service'RunService'.Heartbeat:wait(0)
  178. else
  179. for i = 0, num do
  180. game:service'RunService'.Heartbeat:wait(0)
  181. end
  182. end
  183. end
  184.  
  185. so = function(id,par,vol,pit)
  186. coroutine.resume(coroutine.create(function()
  187. local sou = Instance.new("Sound",par or workspace)
  188. sou.Volume=vol
  189. sou.Pitch=pit or 1
  190. sou.SoundId=id
  191. wait()
  192. sou:play()
  193. game:GetService("Debris"):AddItem(sou,6)
  194. end))
  195. end
  196.  
  197. function clerp(a,b,t)
  198. return a:lerp(b,t)
  199. end
  200.  
  201. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  202. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  203. end
  204.  
  205. local function weldBetween(a, b)
  206. local weldd = Instance.new("ManualWeld")
  207. weldd.Part0 = a
  208. weldd.Part1 = b
  209. weldd.C0 = CFrame.new()
  210. weldd.C1 = b.CFrame:inverse() * a.CFrame
  211. weldd.Parent = a
  212. return weldd
  213. end
  214.  
  215. it=Instance.new
  216.  
  217. function nooutline(part)
  218. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  219. end
  220.  
  221. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  222. local fp=it("Part")
  223. fp.formFactor=formfactor
  224. fp.Parent=parent
  225. fp.Reflectance=reflectance
  226. fp.Transparency=transparency
  227. fp.CanCollide=false
  228. fp.Locked=true
  229. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  230. fp.Name=name
  231. fp.Size=size
  232. fp.Position=Character.Torso.Position
  233. nooutline(fp)
  234. fp.Material=material
  235. fp:BreakJoints()
  236. return fp
  237. end
  238.  
  239. function mesh(Mesh,part,meshtype,meshid,offset,scale,meshtextureid)
  240. local mesh=it(Mesh)
  241. mesh.Parent=part
  242. if Mesh=="SpecialMesh" then
  243. mesh.MeshType=meshtype
  244. mesh.MeshId=meshid
  245. if meshtextureid then
  246. mesh.TextureId=meshtextureid
  247. end
  248. end
  249. mesh.Offset=offset
  250. mesh.Scale=scale
  251. return mesh
  252. end
  253.  
  254.  
  255. Damagefunc = function(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  256. if hit.Parent == nil then
  257. return
  258. end
  259. local h = hit.Parent:FindFirstChild("Humanoid")
  260. for _, v in pairs(hit.Parent:children()) do
  261. if v:IsA("Humanoid") then
  262. h = v
  263. end
  264. end
  265. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  266. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  267. if hit.Parent.DebounceHit.Value == true then
  268. return
  269. end
  270. end
  271. if h.MaxHealth >= math.huge then
  272. hit:BreakJoints()
  273. end
  274. local c = Instance.new("ObjectValue")
  275. c.Name = "creator"
  276. c.Value = owner
  277. c.Parent = h
  278.  
  279. game:GetService("Debris"):AddItem(c, .5)
  280. if HitSound ~= nil and HitPitch ~= nil then
  281. so(HitSound, hit, 1, HitPitch)
  282. end
  283. local Damage = math.random(minim, maxim)
  284. -- h:TakeDamage(Damage)
  285. local blocked = false
  286. local block = hit.Parent:findFirstChild("Block")
  287. if block ~= nil then
  288. if block.className == "IntValue" then
  289. if block.Value > 0 then
  290. blocked = true
  291. block.Value = block.Value - 1
  292. print(block.Value)
  293. end
  294. end
  295. end
  296. if blocked == false then
  297. -- h:TakeDamage(Damage)
  298. h.Health = h.Health - Damage
  299. if Damage ~= 0 then
  300. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color)
  301. end
  302. else
  303. h.Health = h.Health - (Damage / 2)
  304. if Damage ~=0 then
  305. Showdamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1, PowerBrickColor.Color)
  306. end
  307. end
  308. if Type == "Knockdown" then
  309. local hum = hit.Parent.Humanoid
  310. hum.PlatformStand = true
  311. coroutine.resume(coroutine.create(function(HHumanoid)
  312. swait(1)
  313. HHumanoid.PlatformStand = false
  314. end), hum)
  315. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  316. local bodvol = Instance.new("BodyVelocity")
  317. bodvol.velocity = angle * knockback
  318. bodvol.P = 5000
  319. bodvol.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  320. bodvol.Parent = hit
  321.  
  322. local rl = Instance.new("BodyAngularVelocity")
  323. rl.P = 3000
  324. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  325. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  326. rl.Parent = hit
  327.  
  328. game:GetService("Debris"):AddItem(bodvol, .5)
  329. game:GetService("Debris"):AddItem(rl, .5)
  330. elseif Type == "Plat" then
  331. local hum = hit.Parent.Humanoid
  332. hum.PlatformStand = true
  333. coroutine.resume(coroutine.create(function(HHumanoid)
  334. wait(0.8)
  335. HHumanoid.PlatformStand = false
  336. end), hum)
  337.  
  338. local rl = Instance.new("BodyAngularVelocity")
  339. rl.P = 3000
  340. rl.maxTorque = Vector3.new(100, 100, 100) * 500
  341. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  342. rl.Parent = hit
  343.  
  344. game:GetService("Debris"):AddItem(rl, .5)
  345.  
  346. local vp = Instance.new("BodyVelocity")
  347. vp.P = 500
  348. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  349. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  350.  
  351. if knockback > 0 then
  352. vp.Parent = hit.Parent.Torso
  353. end
  354. game:GetService("Debris"):AddItem(vp, .5)
  355.  
  356. elseif Type == "Normal" then
  357. local vp = Instance.new("BodyVelocity")
  358. vp.P = 500
  359. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  360. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  361.  
  362. if knockback > 0 then
  363. vp.Parent = hit.Parent.Torso
  364. end
  365. game:GetService("Debris"):AddItem(vp, .5)
  366. elseif Type == "Gravitate" then
  367. local tor = hit.Parent.Torso
  368. local bp = Instance.new("BodyPosition",tor)
  369. bp.P = 500
  370. bp.maxForce = Vector3.new(4000, 1000, 4000)
  371. bp.Position = Character.Torso.Position
  372. game:GetService("Debris"):AddItem(bp, Delay)
  373. elseif Type == "Up" then
  374. local bodyVelocity = Instance.new("BodyVelocity")
  375. bodyVelocity.velocity = vt(0, 20, 0)
  376. bodyVelocity.P = 5000
  377. bodyVelocity.maxForce = Vector3.new(8e+003, 8e+003, 8e+003)
  378. bodyVelocity.Parent = hit
  379.  
  380. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  381. elseif Type == "Snare" then
  382. local bp = Instance.new("BodyPosition")
  383. bp.P = 2000
  384. bp.D = 100
  385. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  386. bp.position = hit.Parent.Torso.Position
  387. bp.Parent = hit.Parent.Torso
  388. game:GetService("Debris"):AddItem(bp, 1)
  389.  
  390. elseif Type == "Freeze" then
  391. local BodPos = Instance.new("BodyPosition")
  392. BodPos.P = 50000
  393. BodPos.D = 1000
  394. BodPos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  395. BodPos.position = hit.Parent.Torso.Position
  396. BodPos.Parent = hit.Parent.Torso
  397.  
  398. local BodGy = Instance.new("BodyGyro")
  399. BodGy.maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge
  400. BodGy.P = 20e+003
  401. BodGy.Parent = hit.Parent.Torso
  402. BodGy.cframe = hit.Parent.Torso.CFrame
  403.  
  404. hit.Parent.Torso.Anchored = true
  405. coroutine.resume(coroutine.create(function(Part)
  406. swait(1.5)
  407. Part.Anchored = false
  408. end), hit.Parent.Torso)
  409. game:GetService("Debris"):AddItem(BodPos, 3)
  410. game:GetService("Debris"):AddItem(BodGy, 3)
  411.  
  412.  
  413. elseif Type=="Target" then
  414. if Targetting==false then
  415. ZTarget=hit.Parent.Torso
  416. coroutine.resume(coroutine.create(function(Part)
  417. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  418. swait(5)
  419. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  420. end),ZTarget)
  421. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  422. targetgui=Instance.new("BillboardGui")
  423. targetgui.Parent=ZTarget
  424. targetgui.Size=UDim2.new(10,100,10,100)
  425. targ=Instance.new("ImageLabel")
  426. targ.Parent=targetgui
  427. targ.BackgroundTransparency=1
  428. targ.Image="rbxassetid://4834067"
  429. targ.Size=UDim2.new(1,0,1,0)
  430. cam.CameraType="Scriptable"
  431. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  432. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  433. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  434. Targetting=true
  435. RocketTarget=ZTarget
  436. for i=1,Property do
  437. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  438. swait()
  439. end
  440. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  441. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  442. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  443. end
  444. Targetting=false
  445. RocketTarget=nil
  446. targetgui.Parent=nil
  447. cam.CameraType="Custom"
  448. end
  449. end
  450.  
  451. local debounce = Instance.new("BoolValue")
  452. debounce.Name = "DebounceHit"
  453. debounce.Parent = hit.Parent
  454. debounce.Value = true
  455. game:GetService("Debris"):AddItem(debounce, Delay)
  456. c = Instance.new("ObjectValue")
  457. c.Name = "creator"
  458. c.Value = Player
  459. c.Parent = h
  460. game:GetService("Debris"):AddItem(c, .5)
  461. end
  462. end
  463.  
  464. function Showdamage(Pos, Text, Time, Color)
  465. local Rate = (1 / 30)
  466. local Pos = (Pos or Vector3.new(0, 0, 0))
  467. local Text = (Text or "")
  468. local Time = (Time or 2)
  469. local Color = (Color or Color3.new(1, 0, 0))
  470. local EffectPart = part("Custom", workspace, "Neon", 0, 1, BrickColor.new(Color), "Effect", vt(0, 0, 0))
  471. EffectPart.Anchored = true
  472. local BillboardGui = Instance.new("BillboardGui")
  473. BillboardGui.Size = UDim2.new(3, 0, 3, 0)
  474. BillboardGui.Adornee = EffectPart
  475. BillboardGui.Parent = EffectPart
  476.  
  477. local TextLabel = Instance.new("TextLabel")
  478. TextLabel.BackgroundTransparency = 1
  479. TextLabel.Size = UDim2.new(1, 0, 1, 0)
  480. TextLabel.Text = Text
  481. TextLabel.TextColor3 = Color
  482. TextLabel.TextScaled = true
  483. TextLabel.Font = Enum.Font.SourceSansBold
  484. TextLabel.Parent = BillboardGui
  485. TextLabel.TextStrokeTransparency = 0
  486. TextLabel.TextTransparency = 0.2
  487.  
  488.  
  489. game.Debris:AddItem(EffectPart, (Time + 0.1))
  490. EffectPart.Parent = game:GetService("Workspace")
  491. delay(0, function()
  492. local Frames = (Time / Rate)
  493. for Frame = 1, Frames do
  494. wait(Rate)
  495. local Percent = (Frame / Frames)
  496. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  497. TextLabel.TextTransparency = Percent
  498. end
  499. if EffectPart and EffectPart.Parent then
  500. EffectPart:Destroy()
  501. end
  502. end)
  503. end
  504.  
  505. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  506. local prt = part(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  507. prt.Anchored = true
  508. prt.CFrame = cframe
  509. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  510. coroutine.resume(coroutine.create(function()
  511. for i = 0, 1, 0.05 do
  512. wait()
  513. prt.Transparency = i
  514. msh.Scale = msh.Scale + vt(x2, y2, z2)
  515. end
  516. prt.Parent = nil
  517. end))
  518. end
  519.  
  520. function weld(parent, part0, part1, c0, c1)
  521. local Weld = Instance.new("Weld")
  522. Weld.Parent = parent
  523. Weld.Part0 = part0
  524. Weld.Part1 = part1
  525. Weld.C0 = c0
  526. Weld.C1 = c1
  527.  
  528. return Weld
  529. end
  530.  
  531.  
  532.  
  533. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type, SoundID, Pitch)
  534. for _, c in pairs(workspace:children()) do
  535. local hum = c:findFirstChild("Humanoid")
  536. if hum ~= nil then
  537. local head = c:findFirstChild("Torso")
  538. if head ~= nil then
  539. local targ = head.Position - Part.Position
  540. local mag = targ.magnitude
  541. if mag <= magni and c.Name ~= Player.Name then
  542. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, .2, SoundID or 1, Pitch or 3)
  543. end
  544. end
  545. end
  546. end
  547. end
  548.  
  549. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, lifetime)
  550. local prt = part(3, workspace, "Neon", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  551. prt.Anchored = true
  552. prt.CFrame = cframe
  553. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  554. game:GetService("Debris"):AddItem(prt, lifetime)
  555. coroutine.resume(coroutine.create(function(Part, Mesh)
  556. for i = 0, 1, delay do
  557. swait()
  558. Part.CFrame = Part.CFrame
  559. Part.Transparency = i
  560. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  561. end
  562. Part.Parent = nil
  563. end), prt, msh)
  564. end
  565.  
  566. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  567. local prt=part(3,workspace,"SmoothPlastic",0,0,brickcolor,"Effect",vt())
  568. prt.Anchored=true
  569. prt.CFrame=cframe
  570. local msh = mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  571. game:GetService("Debris"):AddItem(prt,2)
  572. coroutine.resume(coroutine.create(function(Part,Mesh)
  573. for i=0,1,delay do
  574. swait()
  575. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  576. Part.Transparency=i
  577. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  578. end
  579. Part.Parent=nil
  580. end),prt,msh)
  581. end
  582.  
  583.  
  584.  
  585. Player=owner
  586. Character=Player.Character
  587. m=Instance.new('Model',Character)
  588.  
  589. for i,v in pairs(Character:GetChildren()) do
  590. if v:IsA("BasePart") then
  591. v.Transparency = 1
  592. if v:findFirstChild("Mesh") then
  593. v.Mesh:Remove()
  594. end
  595. end
  596. end
  597.  
  598. for i,v in pairs(Character:GetChildren()) do
  599. if v:IsA("Hat") then
  600. v:Remove()
  601. end
  602. end
  603.  
  604. Character.Head.face:Remove()
  605.  
  606. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1.10000002, 0.300000042, 1.30000007))
  607. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0567069054, -0.374963284, -0.0399932861, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  608. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 0.700000048, 1))
  609. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067152977, 0.0250287056, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  610. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1))
  611. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067076683, 0.725027561, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  612. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1))
  613. handleweld=weld(m,Character["Right Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0067076683, -0.774960995, 0.0100021362, 1, -2.98022691e-008, 1.37788447e-010, 2.98023259e-008, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  614. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.600000024, 1))
  615. handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420660973, -0.839612484, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1))
  616. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1.10000002, 0.300000042, 1.30000007))
  617. handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0079408288, -0.389612675, -0.0399932861, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1))
  618. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(1, 0.700000048, 1))
  619. handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420544744, 0.710381031, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1))
  620. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 0.700000048, 1))
  621. handleweld=weld(m,Character["Left Arm"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0420659781, 0.0103850365, 0.0100021362, 1, 8.94067966e-008, 0, -8.94069672e-008, 0.999998093, 0, 0, 0, 1))
  622. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976))
  623. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0718898773, -0.0278244019, -0.197489738, -0.168531105, 0.970746934, 0.171009302, -0.0593937077, 0.163174376, -0.984807849, -0.983905315, -0.176127285, 0.0301563554))
  624. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  625. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Mid gray","Handle",Vector3.new(1.19999933, 0.600000024, 1.60000014))
  626. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999990821, 0.700016856, 0.410003662, 1, -2.43970271e-017, -5.56362636e-008, -1.36697535e-017, 0.999998093, 0, 5.56362636e-008, 0, 1))
  627. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=108884514",Vector3.new(1, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976))
  628. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952))
  629. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.328083873, -0.460006714, 0.131678104, -0.500000179, 0.86602366, 1.88850976e-007, -7.54979226e-008, 1.7447725e-007, -1, -0.866025329, -0.499999225, -2.18557012e-008))
  630. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  631. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976))
  632. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0826148987, -0.0158462524, 0.132510662, 0.173648342, 0.96984458, 0.171009302, -2.73063711e-006, 0.173647553, -0.984807789, -0.98480773, 0.171009451, 0.0301563144))
  633. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  634. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952))
  635. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.278078556, -0.460006714, -0.218289971, 0.500000417, 0.86602354, -6.0481824e-008, -1.13133467e-008, -6.33065369e-008, -1, -0.866025209, 0.499999464, -2.18557119e-008))
  636. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  637. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 1.29999995, 1))
  638. handleweld=weld(m,Character["Right Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -0.349968076, 0.0100021362, 1, -8.8118653e-012, 1.37788447e-010, 8.81185316e-012, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  639. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952))
  640. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.278078675, -0.460006714, -0.21829015, 0.500000417, 0.86602354, -6.0481824e-008, -1.13133467e-008, -6.33065369e-008, -1, -0.866025209, 0.499999464, -2.18557119e-008))
  641. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  642. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.29999995, 0.300000012, 0.299999952))
  643. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.328083903, -0.460006714, 0.131678104, -0.500000179, 0.86602366, 1.88850976e-007, -7.54979226e-008, 1.7447725e-007, -1, -0.866025329, -0.499999225, -2.18557012e-008))
  644. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  645. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1, 1.29999995, 1))
  646. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -0.349968076, 0.0100021362, 1, -8.8118653e-012, 1.37788447e-010, 8.81185316e-012, 0.999998093, 2.36526621e-009, -1.37788447e-010, -2.36526176e-009, 1))
  647. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976))
  648. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0826148987, -0.0158462524, 0.132510424, 0.173648342, 0.96984458, 0.171009302, -2.73063711e-006, 0.173647553, -0.984807789, -0.98480773, 0.171009451, 0.0301563144))
  649. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  650. handle=part(Enum.FormFactor.Brick,m,Enum.Material.SmoothPlastic,0,0,"Institutional white","Handle",Vector3.new(1.4000001, 0.399999976, 0.399999976))
  651. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.071890831, -0.0278244019, -0.197489977, -0.168531105, 0.970746934, 0.171009302, -0.0593937077, 0.163174376, -0.984807849, -0.983905315, -0.176127285, 0.0301563554))
  652. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  653. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Mid gray","Handle",Vector3.new(1.19999933, 0.600000024, 1.60000014))
  654. handleweld=weld(m,Character["Left Leg"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.999991, 0.700016856, 0.410003662, 1, -2.43970271e-017, -5.56362636e-008, -1.36697535e-017, 0.999998093, 0, 5.56362636e-008, 0, 1))
  655. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=108884514",Vector3.new(1, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976))
  656. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(2, 2, 0.200000003))
  657. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, 2.90870667e-005, -0.63999939, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  658. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(2, 0.299999952, 0.200000003))
  659. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, -1.04996729, -0.63999939, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  660. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.699999988, 0.50000006, 0.200000003))
  661. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.650002956, 0.550035, 0.560005188, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  662. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.699999988, 0.50000006, 0.200000003))
  663. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.649995327, 0.550035, 0.560005188, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  664. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000006, 0.599999964, 0.200000003))
  665. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.449995518, 0.700028896, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  666. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.300000012, 0.299999952, 0.200000003))
  667. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.599997044, 0.350027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  668. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.299999952, 0.200000003))
  669. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.649995327, -0.049967289, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  670. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.99999994, 0.200000003))
  671. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.550000668, -0.399962902, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  672. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000003, 0.299999952, 0.200000003))
  673. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.250001431, 0.550035, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  674. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 0.299999952, 0.200000003))
  675. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.400002956, 0.850027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  676. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000036, 2, 0.200000003))
  677. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.799997807, 2.90870667e-005, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  678. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 2, 0.200000003))
  679. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.750005245, 2.90870667e-005, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  680. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.5, 0.299999952, 0.200000003))
  681. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.500001431, 0.350027561, 0.460006714, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  682. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(2.00000024, 0.5, 0.200000003))
  683. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-006, 0.650028706, 0.660003662, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  684. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(1.00000024, 0.5, 0.200000003))
  685. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.160003662, 0.650028706, 1.09999704, -4.37113883e-008, 0, -1, -1.36697535e-017, 0.999998212, 0, 1, -2.20977777e-017, -4.37113883e-008))
  686. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(1.00000024, 0.5, 0.200000003))
  687. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.160003662, 0.650028706, -1.10000372, -4.37113883e-008, 0, -1, -1.36697535e-017, 0.999998212, 0, 1, -2.20977777e-017, -4.37113883e-008))
  688. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"White","Handle",Vector3.new(2.20000005, 0.5, 0.200000003))
  689. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.43051147e-006, 0.650028706, 0.660003662, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  690. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Dark stone grey","Handle",Vector3.new(0.699999988, 0.599999964, 0.200000003))
  691. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.889498711, -0.0537874699, 0.733566284, 0.642787635, 0.766043067, -3.55271368e-015, -0.766044438, 0.642786503, 0, 0, 0, 1))
  692. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  693. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Dark stone grey","Handle",Vector3.new(0.800000072, 1.60000002, 0.200000003))
  694. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0518354177, 0.906989098, 0.733566284, 0.766044438, -0.642786503, 0, 0.642787635, 0.766043067, -3.55271368e-015, 0, 0, 1))
  695. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  696. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.900000155, 0.600000024, 0.200000003))
  697. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.170783401, -0.534261465, 0.460006714, 0.98480773, -0.173647895, 0, 0.173648208, 0.984805942, 0, 0, 0, 1))
  698. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.400000125, 0.600000024, 0.200000003))
  699. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.287393093, -0.502182484, 0.460006714, 1, 1.49011363e-008, 0, -1.4901163e-008, 0.999998212, 0, 0, 0, 1))
  700. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(0.200000167, 0.700000048, 0.200000003))
  701. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499696255, -0.599782467, 0.460006714, 1, 1.49011363e-008, 0, -1.4901163e-008, 0.999998212, 0, 0, 0, 1))
  702. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(2, 2, 1))
  703. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.24520874e-006, 2.90870667e-005, -0.0899963379, 1, -8.81186617e-012, 1.37788447e-010, 8.81185316e-012, 0.999998212, 2.36526621e-009, -1.37788447e-010, -2.36526199e-009, 1))
  704. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(0.200000033, 0.200000003, 0.200000048))
  705. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0365233421, -0.688952446, 0.716278076, 0.999922216, 0.00910925679, 0.00851889979, -0.00851848722, 0.997715652, -0.0669871122, -0.00910965912, 0.0669092163, 0.9977175))
  706. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  707. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Black","Handle",Vector3.new(0.200000033, 0.300000012, 0.200000048))
  708. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0347619057, -0.832028389, 0.609809875, 0.999922216, 0.00910925679, 0.00851889979, -0.00851848722, 0.997715652, -0.0669871122, -0.00910965912, 0.0669092163, 0.9977175))
  709. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  710. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Plastic,0,0,"Deep orange","Handle",Vector3.new(0.7099998, 0.690000057, 0.800000072))
  711. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0450046062, -0.34496069, -0.510002136, -1, 1.50995476e-007, -3.53902607e-007, 1.50995803e-007, 0.999998212, -1.50995746e-007, 3.53902578e-007, -1.50995533e-007, -1))
  712. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=105992239",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  713. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048))
  714. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.533332825, -0.763595104, 0.573783875, 0.939692616, -0.342019498, 0, 0.342020124, 0.939690948, 0, 0, 0, 1))
  715. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  716. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048))
  717. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0400032997, -0.899955273, 0.573783875, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  718. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  719. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(0.300000042, 1, 0.200000048))
  720. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.458151102, -0.79095912, 0.573783875, 0.939692616, 0.342019498, 0, -0.342020124, 0.939690948, 0, 0, 0, 1))
  721. mesh("SpecialMesh",handle,Enum.MeshType.Cylinder,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  722. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 0.699999988))
  723. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.26664257, 0.659667969, -1.10489941, 0.492403835, -0.852867007, -0.173648104, 0.235888645, -0.0612748675, 0.969846308, -0.837791741, -0.518516719, 0.171009973))
  724. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  725. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  726. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.94452858, 0.400018692, -0.135944366, 0.866025388, 6.9388815e-018, 0.5, -1.36697535e-017, 0.999998212, 0, -0.5, 1.3877763e-017, 0.866025388))
  727. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  728. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  729. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.09449005, 0.400018692, -0.229496002, 0.939692557, -6.9388815e-018, -0.342020363, -1.36697535e-017, 0.999998212, 0, 0.342020363, -1.3877763e-017, 0.939692557))
  730. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  731. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  732. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.2899704, 0.400019169, 0.0504355431, -0.000345305598, -3.01991037e-007, -0.99999994, -5.21397127e-011, 0.999998212, -3.01991577e-007, 0.99999994, -5.21396225e-011, -0.000345305598))
  733. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  734. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  735. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.950009823, 0.400018692, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  736. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  737. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  738. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.04999018, 0.400018692, -0.0899963379, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  739. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  740. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 2))
  741. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.02066422, 0.400018692, -0.317581177, 0.98480773, -6.9388815e-018, 0.173648179, -1.36697535e-017, 0.999998212, 0, -0.173648179, 1.3877763e-017, 0.98480773))
  742. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  743. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1))
  744. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0799401999, 0.0609292984, -0.190055847, 0.999984324, 5.84840677e-007, 0.00560137676, -8.11467146e-007, 0.999998212, 4.04566163e-005, -0.00560137676, -4.04604543e-005, 0.999984324))
  745. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=20637493",Vector3.new(0, 0, 0),Vector3.new(2, 0.899999976, 1.5))
  746. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(1.60000002, 2.9000001, 2.20000005))
  747. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0499823093, -0.55574131, -0.340011597, 1, 2.42325049e-010, 7.0896931e-008, -2.42325493e-010, 0.999998212, -1.92811656e-010, -7.0896931e-008, 1.92811295e-010, 1))
  748. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=18010902",Vector3.new(0, 0, 0),Vector3.new(1.5, 1.5, 1.5))
  749. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.200000003, 1.49762106, 0.367621154))
  750. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.759941101, -0.604561329, -0.783833981, -4.37113883e-008, -7.24829704e-007, -1, -9.45288769e-019, 0.999998212, -7.24831011e-007, 1, -3.17189072e-014, -4.37113883e-008))
  751. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  752. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.39762104, 0.467621028))
  753. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.734962463, -0.382373154, -1.40004396, 2.29845955e-005, 3.82969354e-008, -1, -0.866037309, 0.499978483, -1.9886369e-005, 0.499979377, 0.866035759, 1.15249904e-005))
  754. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  755. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.39762104, 0.450000018))
  756. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.734977722, -0.247079849, -1.46933198, -2.09955142e-005, -3.72491975e-008, 1, 0.866037309, 0.499978483, 1.82015228e-005, -0.499979377, 0.866035759, -1.04650644e-005))
  757. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  758. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Slate,0,0,"Lily white","Handle",Vector3.new(0.25, 1.49762106, 0.317621171))
  759. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.734931946, -0.604560852, -0.865053654, -4.37113883e-008, 1.94631519e-010, 1, 1.29048331e-019, 0.999998212, -1.94631866e-010, -1, 5.24167976e-018, -4.37113883e-008))
  760. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  761. Cheek=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Cheek",Vector3.new(0.200000003, 0.797621012, 0.200000003))
  762. cheekweld=weld(m,Character["Head"],Cheek,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.601955414, -0.162797928, 0.295737267, 0.342046022, 4.04983638e-008, -0.939683199, 0.939683199, 2.29856287e-005, 0.342046022, 2.16131011e-005, -0.999998212, 7.82410189e-006))
  763. mesh("SpecialMesh",Cheek,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  764. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Slate,0,0,"White","Handle",Vector3.new(0.900000036, 1, 0.699999988))
  765. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0582208633, 0.27583313, 1.28360176, -0.633022189, -0.754405081, -0.173648059, 0.023099035, -0.242619634, 0.969846308, -0.773788929, 0.609922111, 0.171009958))
  766. mesh("SpecialMesh",handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  767. LEye=part(Enum.FormFactor.Symmetric,m,Enum.Material.Neon,0,0,"Really red","LEye",Vector3.new(0.127664909, 0.127664909, 0.127664909))
  768. leyeweld=weld(m,Character["Head"],LEye,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.318228245, -0.559594631, 0.257324219, 1, -3.00161137e-005, 3.04324476e-005, 3.00170814e-005, 0.999998212, -3.00167321e-005, -3.04315472e-005, 3.00175907e-005, 1))
  769. mesh("SpecialMesh",LEye,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  770. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Lily white","Handle",Vector3.new(1.66100001, 1.78699994, 1.70799994))
  771. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0900025368, -0.449978828, -0.269989014, 1, -1.36697287e-017, 0, -1.36697535e-017, 0.999998212, 0, 0, 0, 1))
  772. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://430073345",Vector3.new(0, 0, 0),Vector3.new(0.899999976, 0.899999976, 0.899999976),"rbxassetid://430073362")
  773. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1))
  774. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.309482574, -0.645757675, 0.518859863, 0.861629188, 0, -0.507538319, 0, 0.999998212, 0, 0.507538319, 0, 0.861629188))
  775. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1185246",Vector3.new(0, 0, 0),Vector3.new(-0.800000012, -0.800000012, -0.200000003))
  776. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.SmoothPlastic,0,0,"Really black","Handle",Vector3.new(1, 1, 1))
  777. handleweld=weld(m,Character["Head"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.36045742, -0.627934456, 0.292892456, 0.992546678, 6.49359566e-010, 0.121869393, 0.0106216129, 0.996192873, -0.0865061134, -0.121405624, 0.0871556029, 0.98876977))
  778. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=1185246",Vector3.new(0, 0, 0),Vector3.new(-0.600000024, -0.600000024, -0.200000003))
  779. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(2.99997711, 4.19996166, 1.54998469))
  780. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.96046448e-005, 0.622812271, -1.06464767, 1, 1.77355797e-010, 1.12091172e-008, 3.66705954e-009, 0.939691782, -0.342017889, -1.05937978e-008, 0.342017263, 0.939693451))
  781. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=63717022",Vector3.new(0, 0, 0),Vector3.new(1.29999995, -2.6500001, 1.5))
  782. handle=part(Enum.FormFactor.Symmetric,m,Enum.Material.Plastic,0,0,"Institutional white","Handle",Vector3.new(2.99997711, 4.19996166, 1.54998469))
  783. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.52723694e-005, 0.690700531, -1.14962769, 1, 1.77355797e-010, 1.12091172e-008, 3.66705954e-009, 0.939691782, -0.342017889, -1.05937978e-008, 0.342017263, 0.939693451))
  784. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=63717022",Vector3.new(0, 0, 0),Vector3.new(1.29999995, -2.6500001, 1.5))
  785.  
  786. local CharaCheek = m:FindFirstChild("Cheek")
  787.  
  788. local leyeemitter = Instance.new("ParticleEmitter", LEye)
  789. leyeemitter.VelocitySpread = 1
  790. leyeemitter.VelocityInheritance = 0.6
  791. leyeemitter.Lifetime = NumberRange.new(0.2)
  792. leyeemitter.Speed = NumberRange.new(1)
  793. leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  794. leyeemitter.RotSpeed = NumberRange.new(100)
  795. leyeemitter.Rate = 1000
  796. leyeemitter.Rotation = NumberRange.new(20)
  797. leyeemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  798. leyeemitter.LightEmission = 40
  799. leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863))
  800. leyeemitter.Enabled = false
  801.  
  802. function MagicFlames(origin, duration, increment)
  803. coroutine.wrap(function()
  804. for i = 1,duration,increment do
  805. local fColors = {BrickColor.new('Institutional white'), PowerBrickColor}
  806. local p = Instance.new('Part', origin)
  807. p.BrickColor = (fColors[math.random(1,#fColors)])
  808. p.FormFactor = 'Custom'
  809. p.Material = 'Neon'
  810. p.Size = Vector3.new(1, 1, 1)
  811. p.CanCollide = false
  812. p.Anchored = true
  813. p.Locked = true
  814. p.CFrame = origin.CFrame * CFrame.new(0, 1, 0) * CFrame.Angles(math.random(0,3),math.random(0,3),math.random(0,3))
  815. Instance.new('BlockMesh', p)
  816. coroutine.wrap(function()
  817. for i = 1, 10 do
  818. p.Mesh.Scale = p.Mesh.Scale - Vector3.new(.1, .1, .1)
  819. p.CFrame = p.CFrame * CFrame.new(0, .35, 0)
  820. wait()
  821. end
  822. end)()
  823. game:service'Debris':AddItem(p, .55)
  824. end
  825. end)()
  826. end
  827.  
  828. function SpawnBone(origin,lifetime,xpos,ypos,zpos)
  829. local B0ne = part(1,workspace,"SmoothPlastic",0,0,"Institutional white","bon",Vector3.new(1,2,1))
  830. B0ne.Position = origin.Position
  831. B0ne.Name = "bon"
  832. B0ne.CanCollide = false
  833. B0ne.BrickColor = BrickColor.new("Institutional white")
  834. B0ne.Material = "Neon"
  835. B0ne.Size = Vector3.new(1, 1, 1)
  836. B0ne.TopSurface = Enum.SurfaceType.Smooth
  837. B0ne.BottomSurface = Enum.SurfaceType.Smooth
  838. local B0nmesh = Instance.new("SpecialMesh",B0ne)
  839. B0nmesh.MeshId = "rbxassetid://465130937"
  840. B0nmesh.Scale = Vector3.new(0.01, 0.01, 0.01)
  841. local B0nvel = Instance.new("BodyAngularVelocity",B0ne)
  842. B0nvel.AngularVelocity = Vector3.new(15,0,0)
  843. local bep = Instance.new("BodyPosition", B0ne)
  844. bep.Position = origin.Position
  845. bep.D = 600
  846. coroutine.resume(coroutine.create(function(bep)
  847. for i = 0,1,0.05 do
  848. swait()
  849. bep.Position = Character.Head.CFrame:pointToWorldSpace(Vector3.new(xpos,ypos,zpos))
  850. end
  851. end),bep)
  852. coroutine.resume(coroutine.create(function()
  853. wait(lifetime)
  854. bep:Remove()
  855. local MainPos = B0ne.Position
  856. local MainPos2 = mouse.Hit.p
  857. local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  858. hitcon=B0ne.Touched:connect(function(hit)
  859. if hit:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Humanoid") then
  860. Damagefunc(B0ne, hit, 1, 5, math.random(2, 5), "Normal", RootPart, .1, "http://www.roblox.com/asset/?id=512862725", 1)
  861. so("http://www.roblox.com/asset/?id=512862725", hit, 0.5, 1)
  862. end
  863. end)
  864. coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  865. local num = 100
  866. repeat
  867. swait()
  868. local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  869. B0ne.CFrame = CFrame.new((Pos1 + opos) / 2, opos)*angles(num,0,0)
  870. Pos1 = Pos1 + Look.lookVector * 3
  871. B0ne.CFrame = CFrame.new(B0ne.Position, mouse.Hit.p)*angles(num,0,0)
  872. if ohit ~= nil then
  873. num = 0
  874. end
  875. num = num - 1
  876. until num <= 0
  877. local ref = part(3,workspace,"SmoothPlastic",0,0,"Institutional white","Effect",vt())
  878. ref.Transparency = 1
  879. ref.Anchored = true
  880. ref.CFrame = cf(B0ne.Position)
  881. game:GetService("Debris"):AddItem(ref, 0.5)
  882. MagniDamage(ref,ref,4,10,25,0,"Normal","rbxassetid://512862725",1)
  883. B0ne.Parent = nil
  884. end), MainPos, MainPos2, MouseLook)
  885. hitcon:disconnect()
  886. end))
  887. end
  888.  
  889. function Backhand()
  890. attack=true
  891. local tempbox = Instance.new("Part", Character["Right Arm"])
  892. tempbox.CanCollide = false
  893. tempbox.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  894. tempbox.Transparency = 1
  895. tempbox.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  896. tempbox.Material = Enum.Material.Fabric
  897. tempbox.Size = Vector3.new(1, 1, 2)
  898. tempbox.Name = "THitbox"
  899. tempbox.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  900. tempbox.CFrame = CFrame.new(24.826, 1.974, -28.95) * CFrame.Angles(1.5707978010178, 2.9405705390673e-006, -3.1415922641754)
  901. tempbox.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  902. tempbox.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  903. tempbox.Friction = 0.3
  904. tempbox.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  905.  
  906. local tempweld = Instance.new("Weld", tempbox)
  907. tempweld.Part0 = Character["Right Arm"]
  908. tempweld.Part1 = tempbox
  909. tempweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-90), math.rad(180), math.rad(0))
  910.  
  911. if Aggro == true then
  912. leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863))
  913. elseif Aggro ~= true then
  914. leyeemitter.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(0, 255, 255))
  915. end
  916. leyeemitter.Enabled = true
  917.  
  918. hitcon=tempbox.Touched:connect(function(hit)
  919. if hit:findFirstChild("Humanoid") or hit.Parent:findFirstChild("Humanoid") then
  920. Damagefunc(tempbox, hit, 1, 5, math.random(20, 25), "Plat", RootPart, .1, "rbxassetid://511340819", 1)
  921.  
  922. --so("rbxassetid://511471841",hit,1,1.15+(math.random(-1,1)*(math.random()*.1)))
  923. coroutine.resume(coroutine.create(function()
  924. --MagicBlock(BrickColor.new("Really red"), hit.CFrame,1,1,1,1.5,1.5,1.5,0.05)
  925. if Aggro == true then
  926. wait(2)
  927. so("http://www.roblox.com/asset/?id=183763506",hit,5,.7)
  928. so("http://www.roblox.com/asset/?id=168413145",hit,0.4,.7)
  929. so("http://www.roblox.com/asset/?id=168413145",hit,0.4,.9)
  930. --MagniDamage(hit,hit,5,100,155,0,"Plat")
  931. Damagefunc(hit, hit, 111, 115, math.random(20, 25), "Plat", RootPart, .1, "rbxassetid://157878578", 1)
  932. MagicCircle(BrickColor.new("Really red"),hit.CFrame,3,3,3,5,5,5,0.05)
  933. MagicCircle(BrickColor.new("Institutional white"),hit.CFrame,2,2,2,4,4,4,0.05)
  934. BlastEffect(BrickColor.new("Really black"),hit.CFrame,1,1,1,.3,.3,.3)
  935. BlastEffect(BrickColor.new("Really red"),hit.CFrame,.2,.2,.2,-.1,-.1,-.1)
  936. end
  937. end))
  938. end
  939. hitcon:disconnect()
  940. end)
  941. for i=0,1,0.08 do
  942. swait()
  943. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(80)),.2)
  944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-75)),.2)
  945. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(0),math.rad(130),math.rad(90)),.2)
  946. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3)
  947. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  948. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  949. end
  950. for i=0,1,0.05 do
  951. swait()
  952. RootJoint.C0=clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-15)),.2)
  953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(15)),.2)
  954. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  955. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(10)),0.3)
  956. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  957. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-15),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  958. end
  959. leyeemitter.Enabled = false
  960. tempweld:Remove()
  961. tempbox:Remove()
  962. attack=false
  963. end
  964.  
  965. function Telepoot()
  966. attack = true
  967. TPFX(1)
  968. leyeemitter.Lifetime = NumberRange.new(0.7)
  969. leyeemitter.Speed = NumberRange.new(3)
  970. leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.8), NumberSequenceKeypoint.new(1, 0.1)})
  971. leyeemitter.Enabled = true
  972. so("rbxassetid://509138786",Torso,0.6,1.5)
  973. local dest = CFrame.new(mouse.Hit.p.x,mouse.Hit.p.y,mouse.Hit.p.z)
  974. for i = 1,3 do wait()
  975. for x,v in pairs(m:GetChildren()) do
  976. if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then
  977. v.Transparency = v.Transparency + 0.33
  978. end
  979. end
  980. end
  981. for x,v in pairs(m:GetChildren()) do
  982. if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then
  983. v.Transparency = 1
  984. end
  985. end
  986. swait(5)
  987. local tRot = RootPart.CFrame - RootPart.Position
  988. RootPart.CFrame = tRot + Vector3.new(dest.x,dest.y+3,dest.z)
  989. TPFX(0)
  990. for i = 1,3 do wait()
  991. for x,v in pairs(m:GetChildren()) do
  992. if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then
  993. v.Transparency = v.Transparency - 0.33
  994. end
  995. end
  996. end
  997. for x,v in pairs(m:GetChildren()) do
  998. if v:IsA("Part") and v.ClassName ~= "BasePart" and v.ClassName ~= "Weld" and v ~= Cheek then
  999. v.Transparency = 0
  1000. end
  1001. end
  1002. leyeemitter.Lifetime = NumberRange.new(0.2)
  1003. leyeemitter.Speed = NumberRange.new(1)
  1004. leyeemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.1), NumberSequenceKeypoint.new(1, 0.1)})
  1005. leyeemitter.Enabled = false
  1006. attack = false
  1007. end
  1008.  
  1009. function TPFX(dir)
  1010. coroutine.resume(coroutine.create(function()
  1011. local inc = 1
  1012. if dir == 1 then
  1013. inc = -2
  1014. elseif dir == 0 then
  1015. inc = 2
  1016. else
  1017. end
  1018. for angle = 1, 720, 70 do
  1019. local p = Instance.new('Part')
  1020. p.Material = "Neon"
  1021. p.CanCollide = false
  1022. p.BrickColor = BrickColor.new("Cyan")
  1023. p.Parent = workspace
  1024. p.Size = Vector3.new(0.2,0.2,0.2)
  1025. p.Anchored = true
  1026. p.CFrame = Torso.CFrame
  1027. * CFrame.Angles(0, math.rad(angle), 0)
  1028. * CFrame.new(2, inc, 0)
  1029. if dir == 1 then
  1030. inc = inc + 0.6
  1031. elseif dir == 0 then
  1032. inc = inc - 0.6
  1033. else
  1034. end
  1035. game:GetService("Debris"):AddItem(p,1)
  1036. coroutine.resume(coroutine.create(function()
  1037. for i = 0,1,0.05 do
  1038. swait()
  1039. p.Size = p.Size + Vector3.new(0.1,0.1,0.1)
  1040. p.CFrame = p.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  1041. p.Transparency = i
  1042. end
  1043. p.Transparency = 1
  1044. end))
  1045. wait()
  1046. end
  1047. end))
  1048. end
  1049.  
  1050. function TFMFX()
  1051. attack = true
  1052. coroutine.resume(coroutine.create(function()
  1053. for angle = 1, 720, 70 do
  1054. local aye = Instance.new('Part')
  1055. aye.Material = "Neon"
  1056. aye.CanCollide = false
  1057. aye.BrickColor = PowerBrickColor
  1058. aye.Parent = Character
  1059. aye.Size = Vector3.new(0.2,0.2,0.2)
  1060. aye.Anchored = false
  1061. aye.CFrame = LEye.CFrame
  1062. game:GetService("Debris"):AddItem(aye,0.1)
  1063. coroutine.resume(coroutine.create(function()
  1064. for i = 0,1,0.05 do
  1065. swait()
  1066. aye.Size = aye.Size + Vector3.new(0.01,0.01,0.01)
  1067. aye.CFrame = LEye.CFrame*CFrame.Angles(math.random(1,360),math.random(1,360),math.random(1,360))
  1068. aye.Transparency = i
  1069. end
  1070. aye.Transparency = 1
  1071. end))
  1072. wait()
  1073. end
  1074. end))
  1075. attack = false
  1076. end
  1077.  
  1078. function attackone()
  1079. attack = true
  1080. SpawnBone(RightArm,0.5,3,3,0)
  1081. MagicFlames(RightArm,10,0.5)
  1082. leyeemitter.Enabled = true
  1083. so("rbxassetid://512078241",Torso,1,1)
  1084. for i=0,1,0.05 do
  1085. swait()
  1086. RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1087. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.2)
  1088. RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(95),math.rad(10),math.rad(30)),.2)
  1089. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3)
  1090. RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1091. LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1092. end
  1093. atktype(1,2)
  1094. attack = false
  1095. leyeemitter.Enabled = false
  1096. end
  1097.  
  1098. function attacktwo()
  1099. attack = true
  1100. leyeemitter.Enabled = true
  1101. SpawnBone(LeftArm,0.5,-3,3,0)
  1102. MagicFlames(LeftArm,10,0.5)
  1103. so("rbxassetid://512078241",Torso,1,1)
  1104. for i=0,1,0.05 do
  1105. swait()
  1106. RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(-20)),.2)
  1107. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1108. RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(5),math.rad(10),math.rad(30)),.2)
  1109. LW.C0 = clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(95),math.rad(-10),math.rad(-30)),0.3)
  1110. RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1111. LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1112. end
  1113. atktype(2,3)
  1114. leyeemitter.Enabled = false
  1115. attack = false
  1116. end
  1117.  
  1118. function attackthree()
  1119. attack = true
  1120. leyeemitter.Enabled = true
  1121. SpawnBone(RightArm,0.5,3,3,0)
  1122. SpawnBone(LeftArm,0.5,-3,3,0)
  1123. SpawnBone(Head,0.5,0,3.5,0)
  1124. MagicFlames(RightArm,10,0.5)
  1125. so("rbxassetid://512078241",Torso,1,0.9)
  1126. for i=0,1,0.04 do
  1127. swait()
  1128. RootJoint.C0 = clerp(RootJoint.C0,RootCF*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1129. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1130. RW.C0 = clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(125),math.rad(10),math.rad(30)),.2)
  1131. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10),math.rad(30)),0.3)
  1132. RH.C0 = clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1133. LH.C0 = clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1134. end
  1135. atktype(1,1)
  1136. leyeemitter.Enabled = false
  1137. attack = false
  1138. end
  1139.  
  1140. function atktype(s, e)
  1141. coroutine.resume(coroutine.create(function()
  1142. attacktype = e
  1143. swait(80)
  1144. attacktype = s
  1145. end))
  1146. end
  1147.  
  1148.  
  1149. mouse.Button1Down:connect(function()
  1150. if Aggro == false then
  1151. if attack == false and Pocketed == true and attacktype == 1 then
  1152. attackone()
  1153. elseif attack == false and Pocketed == true and attacktype == 2 then
  1154. attacktwo()
  1155. elseif attack == false and Pocketed == true and attacktype == 3 then
  1156. attackthree()
  1157. end
  1158. elseif Aggro == true then
  1159. --if attack == false and and Pocketed == true attacktype == 4 then
  1160. --attackone()
  1161. --elseif attack == false and Pocketed == true and attacktype == 5 then
  1162. --attacktwo()
  1163. --elseif attack == false and Pocketed == true and attacktype == 6 then
  1164. --attackthree()
  1165. --end
  1166. end
  1167. end)
  1168.  
  1169. mouse.KeyDown:connect(function(k)
  1170. k=k:lower()
  1171. if attack == false and k == 't' then
  1172. if Pocketed==false then
  1173. Pocketed=true
  1174. RSH=ch.Torso["Right Shoulder"]
  1175. LSH=ch.Torso["Left Shoulder"]
  1176. --
  1177. RSH.Parent=nil
  1178. LSH.Parent=nil
  1179. --
  1180. RW.Name="Right Shoulder"
  1181. RW.Part0=ch.Torso
  1182. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1183. RW.C1=cf(0, 0.5, 0)
  1184. RW.Part1=ch["Right Arm"]
  1185. RW.Parent=ch.Torso
  1186. --
  1187. LW.Name="Left Shoulder"
  1188. LW.Part0=ch.Torso
  1189. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1190. LW.C1=cf(0, 0.5, 0)
  1191. LW.Part1=ch["Left Arm"]
  1192. LW.Parent=ch.Torso
  1193. --
  1194. equipped = true
  1195. else
  1196. if Pocketed == true then
  1197. Pocketed = false
  1198. wait()
  1199. RW.Parent=nil
  1200. LW.Parent=nil
  1201. RSH.Parent=player.Character.Torso
  1202. LSH.Parent=player.Character.Torso
  1203. end
  1204. end
  1205. elseif attack == false and k == 'v' then
  1206. if Aggro == false then
  1207. Aggro = true
  1208. print("Enabled aggro")
  1209. leyeemitter.Color = ColorSequence.new(Color3.new(1, 0, 0.0156863), Color3.new(1, 0, 0.0156863))
  1210. PowerBrickColor = BrickColor.new("Really red")
  1211. LEye.BrickColor = BrickColor.new("Really red")
  1212. Cheek.Transparency = 0
  1213. TFMFX()
  1214. elseif Aggro == true then
  1215. Aggro = false
  1216. print("Disabled aggro")
  1217. leyeemitter.Color = ColorSequence.new(Color3.new(0, 255, 255), Color3.new(0, 255, 255))
  1218. PowerBrickColor = BrickColor.new("Cyan")
  1219. LEye.BrickColor = BrickColor.new("Cyan")
  1220. Cheek.Transparency = 1
  1221. TFMFX()
  1222. end
  1223. so("rbxassetid://513586643",Torso,0.6,1.15+(math.random(-1,1)*(math.random()*.1)))
  1224. elseif attack == false and Pocketed == true and k == 'c' then
  1225. Backhand()
  1226. elseif attack == false and Pocketed == true and Aggro == false and k == 'f' then
  1227. Telepoot()
  1228. end
  1229. end)
  1230.  
  1231.  
  1232. local sine = 0
  1233. local change = 1
  1234. local val = 0
  1235.  
  1236. while true do
  1237. wait()
  1238. sine = sine + change
  1239. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1240. local velderp=RootPart.Velocity.y
  1241. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1242. if equipped==true or equipped==false then
  1243. if attack==false then
  1244. idle=idle+1
  1245. else
  1246. idle=0
  1247. end
  1248. if idle>=500 then
  1249. if attack==false then
  1250. end
  1251. end
  1252. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1253. Anim="Jump"
  1254. if attack==false and Pocketed == true then
  1255. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),0.3)
  1256. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),0.3)
  1257. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(20),math.rad(20),math.rad(20)),0.3)
  1258. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(20),math.rad(-20),math.rad(-20)),0.3)
  1259. RH.C0=clerp(RH.C0,cf(1, -1, 0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1260. LH.C0=clerp(LH.C0,cf(-1, -1, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1261. end
  1262. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1263. Anim="Fall"
  1264. if attack==false and Pocketed == true then
  1265. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(2),math.rad(0),math.rad(0)),0.3)
  1266. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),0.3)
  1267. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(20),math.rad(15),math.rad(10)),0.3)
  1268. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(20),math.rad(-15),math.rad(-10)),0.3)
  1269. RH.C0=clerp(RH.C0,cf(1, -1, 0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1270. LH.C0=clerp(LH.C0,cf(-1, -1, 0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1271. end
  1272. elseif torvel<1 and hitfloor~=nil then
  1273. Anim="Idle"
  1274. if attack==false and Pocketed == true then
  1275. change = 1
  1276. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.05*math.cos(sine/10))*angles(math.rad(0 - 2.5*math.cos(sine/10)),math.rad(0),math.rad(0)),0.3)
  1277. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko*angles(math.rad(6 + math.cos(sine/10)),math.rad(0),math.rad(0)),0.3)
  1278. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(-15),math.rad(-10 - math.cos(sine/10)),math.rad(-30)),0.3)
  1279. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10 + math.cos(sine/10)),math.rad(30)),0.3)
  1280. RH.C0=clerp(RH.C0,cf(1, -1 + 0.05 * -math.cos(sine/10), 0)*angles(math.rad(0 - 3*math.cos(sine/10)),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1281. LH.C0=clerp(LH.C0,cf(-1, -1 + 0.05 * -math.cos(sine/10), 0)*angles(math.rad(0 - 3*math.cos(sine/10)),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1282. end
  1283. elseif torvel>2 and hitfloor~=nil then
  1284. Anim="Walk"
  1285. if attack==false and Pocketed == true then
  1286. change=3
  1287. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(0,0,0),.3)
  1288. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(0,0,0),.3)
  1289. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0)*angles(math.rad(-15),math.rad(-10 - math.cos(sine/10)),math.rad(-30)),0.3)
  1290. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0)*angles(math.rad(-15),math.rad(10 + math.cos(sine/10)),math.rad(30)),0.3)
  1291. RH.C0=clerp(RH.C0,RHC0,.3)
  1292. LH.C0=clerp(LH.C0,LHC0,.3)
  1293. end
  1294. end
  1295. end
  1296. if #Effects>0 then
  1297. for e=1,#Effects do
  1298. if Effects[e]~=nil then
  1299. local Thing=Effects[e]
  1300. if Thing~=nil then
  1301. local Part=Thing[1]
  1302. local Mode=Thing[2]
  1303. local Delay=Thing[3]
  1304. local IncX=Thing[4]
  1305. local IncY=Thing[5]
  1306. local IncZ=Thing[6]
  1307. if Thing[1].Transparency<=1 then
  1308. if Thing[2]=="Block1" then
  1309. Thing[1].CFrame=Thing[1].CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1310. Mesh=Thing[1].Mesh
  1311. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1312. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1313. elseif Thing[2]=="Cylinder" then
  1314. Mesh=Thing[1].Mesh
  1315. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1316. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1317. elseif Thing[2]=="Blood" then
  1318. Mesh=Thing[7]
  1319. Thing[1].CFrame=Thing[1].CFrame*cf(0,.5,0)
  1320. Mesh.Scale=Mesh.Scale+vt(Thing[4],Thing[5],Thing[6])
  1321. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1322. elseif Thing[2]=="Elec" then
  1323. Mesh=Thing[1].Mesh
  1324. Mesh.Scale=Mesh.Scale+vt(Thing[7],Thing[8],Thing[9])
  1325. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1326. elseif Thing[2]=="Disappear" then
  1327. Thing[1].Transparency=Thing[1].Transparency+Thing[3]
  1328. end
  1329. else
  1330. Part.Parent=nil
  1331. table.remove(Effects,e)
  1332. end
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement