Advertisement
Guest User

Untitled

a guest
Feb 18th, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 51.31 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  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 UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  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. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87.  
  88. wait(1/60)
  89. Effects = { }
  90. local Player = owner
  91. local chara = Player.Character
  92. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  93. local LeftArm = chara["Left Arm"]
  94. local RightArm = chara["Right Arm"]
  95. local LeftLeg = chara["Left Leg"]
  96. local RightLeg = chara["Right Leg"]
  97. local Head = chara.Head
  98. local Torso = chara.Torso
  99. local Camera = workspace.CurrentCamera
  100. local RootPart = chara.HumanoidRootPart
  101. local RootJoint = RootPart.RootJoint
  102. local attack = false
  103. local Anim = 'Idle'
  104. local attacktype = 1
  105. local delays = false
  106. local play = true
  107. local targetted = nil
  108. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  109. local velocity = RootPart.Velocity.y
  110. local sine = 0
  111. local change = 1
  112. local doe = 0
  113. local Create = LoadLibrary("RbxUtility").Create
  114. local debby = game:GetService("Debris")
  115. Humanoid.WalkSpeed = 16
  116.  
  117. Humanoid.Animator.Parent = nil
  118. chara.Animate.Parent = nil
  119.  
  120. local newMotor = function(part0, part1, c0, c1)
  121. local w = Create('Motor'){
  122. Parent = part0,
  123. Part0 = part0,
  124. Part1 = part1,
  125. C0 = c0,
  126. C1 = c1,
  127. }
  128. return w
  129. end
  130.  
  131. function clerp(a, b, t)
  132. return a:lerp(b, t)
  133. end
  134.  
  135. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  136. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  137.  
  138. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  139. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  140. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  141. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  142. RootJoint.C1 = CFrame.new(0, 0, 0)
  143. RootJoint.C0 = CFrame.new(0, 0, 0)
  144. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  145. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  146.  
  147. local rarmc1 = RW.C1
  148. local larmc1 = LW.C1
  149. local rlegc1 = RH.C1
  150. local llegc1 = LH.C1
  151.  
  152. local resetc1 = false
  153.  
  154. function PlayAnimationFromTable(table, speed, bool)
  155. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  156. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  157. RW.C0 = clerp(RW.C0, table[3], speed)
  158. LW.C0 = clerp(LW.C0, table[4], speed)
  159. RH.C0 = clerp(RH.C0, table[5], speed)
  160. LH.C0 = clerp(LH.C0, table[6], speed)
  161. if bool == true then
  162. if resetc1 == false then
  163. resetc1 = true
  164. RootJoint.C1 = RootJoint.C1
  165. Torso.Neck.C1 = Torso.Neck.C1
  166. LW.C1 = larmc1
  167. RW.C1 = rarmc1
  168. RH.C1 = rlegc1
  169. LH.C1 = llegc1
  170. end
  171. end
  172. end
  173.  
  174. ArtificialHB = Instance.new("BindableEvent", script)
  175. ArtificialHB.Name = "Heartbeat"
  176. script:WaitForChild("Heartbeat")
  177. frame = 0.03333333333333
  178. tf = 0
  179. allowframeloss = false
  180. tossremainder = false
  181. lastframe = tick()
  182. script.Heartbeat:Fire()
  183. game:GetService("RunService").Heartbeat:connect(function(s, p)
  184. tf = tf + s
  185. if tf >= frame then
  186. if allowframeloss then
  187. script.Heartbeat:Fire()
  188. lastframe = tick()
  189. else
  190. for i = 1, math.floor(tf / frame) do
  191. script.Heartbeat:Fire()
  192. end
  193. lastframe = tick()
  194. end
  195. if tossremainder then
  196. tf = 0
  197. else
  198. tf = tf - frame * math.floor(tf / frame)
  199. end
  200. end
  201. end)
  202. function swait(num)
  203. if num == 0 or num == nil then
  204. ArtificialHB.Event:wait()
  205. else
  206. for i = 0, num do
  207. ArtificialHB.Event:wait()
  208. end
  209. end
  210. end
  211.  
  212. function RemoveOutlines(part)
  213. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  214. end
  215.  
  216. function so(id,par,pit,vol)
  217. local sou = Instance.new("Sound", par or workspace)
  218. if par == chara then
  219. sou.Parent = chara.Torso
  220. end
  221. sou.Volume = vol
  222. sou.Pitch = pit or 1
  223. sou.SoundId = "rbxassetid://" .. id
  224. sou.PlayOnRemove = true
  225. sou:Destroy()
  226. end
  227.  
  228. New = function(Object, Parent, Name, Data)
  229. local Object = Instance.new(Object)
  230. for Index, Value in pairs(Data or {}) do
  231. Object[Index] = Value
  232. end
  233. Object.Parent = Parent
  234. Object.Name = Name
  235. return Object
  236. end
  237.  
  238. ISCREAM = New("Model",chara,"ISCREAM",{})
  239. KonuHandaru = New("Part",ISCREAM,"KonuHandaru",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 1, 0.600000024),CFrame = CFrame.new(-47.8000031, 6.70001078, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  240. Mesh = New("SpecialMesh",KonuHandaru,"Mesh",{Scale = Vector3.new(0.5, 0.699999988, 0.5),MeshId = "http://www.roblox.com/asset/?id=1778999",TextureId = "http://www.roblox.com/asset/?id=20403465",MeshType = Enum.MeshType.FileMesh,})
  241. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.70004463, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  242. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  243. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.00003409, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  244. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  245. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  246. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  247. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.30004692, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  248. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  249. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.60003614, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  250. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.10004234, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  251. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  252. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.40003109, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  253. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.50004387, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  254. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  255. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.80003309, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  256. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.90004539, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  257. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  258. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -2.20003414, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  259. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.7000103, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  260. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  261. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.999999762, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  262. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.9000082, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  263. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  264. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.19999766, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  265. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.10001087, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  266. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  267. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.39999986, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  268. Part = New("Part",ISCREAM,"Part",{Size = Vector3.new(0.100000001, 0.100000001, 0.100000001),CFrame = CFrame.new(-47.8000031, 11.2658768, -64.0939636, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  269. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006),MeshId = "http://www.roblox.com/asset/?id=104783233 ",TextureId = "http://www.roblox.com/asset/?id=104783391 ",MeshType = Enum.MeshType.FileMesh,})
  270. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),C1 = CFrame.new(0, -4.56586552, 0.0939674377, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  271. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.1000443, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  272. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  273. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.400033, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  274. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.7000446, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  275. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  276. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -4.00003433, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  277. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.5000448, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  278. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  279. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.80003405, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  280. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.90004349, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  281. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  282. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.20003319, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  283. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.70004654, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  284. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  285. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.00003624, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  286. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Brown"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 10.3000431, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.486275, 0.360784, 0.27451),})
  287. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  288. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -3.60003233, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  289. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Buttermilk"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 8.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(0.996078, 0.952941, 0.733333),})
  290. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  291. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -1.59999967, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  292. Hitoboksu = New("Part",ISCREAM,"Hitoboksu",{FormFactor = Enum.FormFactor.Plate,Size = Vector3.new(0.600000024, 4.29999876, 0.600000024),CFrame = CFrame.new(-47.8000031, 9.4500103, -63.9999924, 1, 0, 0, 0, -1, 0, 0, 0, -1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  293. Weld = New("ManualWeld",Hitoboksu,"Weld",{Part0 = Hitoboksu,Part1 = KonuHandaru,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),C1 = CFrame.new(0, -2.74999952, 0, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  294. Mesh = New("BlockMesh",Hitoboksu,"Mesh",{Scale = Vector3.new(0, 0, 0),})
  295. att2 = New("Attachment",Hitoboksu,"att2",{CFrame = CFrame.new(0, -2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  296. att1 = New("Attachment",Hitoboksu,"att1",{CFrame = CFrame.new(0, 2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  297. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.600000024, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.50000858, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  298. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  299. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.799998045, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  300. Part = New("Part",ISCREAM,"Part",{BrickColor = BrickColor.new("Carnation pink"),Material = Enum.Material.Marble,Size = Vector3.new(0.600000024, 0.200000018, 0.600000024),CFrame = CFrame.new(-47.8000031, 7.30001068, -63.9999924, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,Color = Color3.new(1, 0.596078, 0.862745),})
  301. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  302. Weld = New("ManualWeld",Part,"Weld",{Part0 = Part,Part1 = KonuHandaru,C1 = CFrame.new(0, -0.599999666, -1.90734863e-06, 1, 0, 0, 0, -1, 0, 0, 0, -1),})
  303. TUREIRU = New("Trail",Hitoboksu,"TUREIRU",{Enabled = false,LightEmission = 1,Attachment1 = att1,Attachment0 = att2})
  304. TUREIRU.Color = ColorSequence.new({
  305. ColorSequenceKeypoint.new(0,Color3.fromRGB(255, 253, 208)),
  306. ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255, 192, 203)),
  307. ColorSequenceKeypoint.new(1,Color3.fromRGB(123, 63, 0)),
  308. })
  309. TUREIRU.Transparency = NumberSequence.new(0,1)
  310.  
  311. local wep = ISCREAM
  312. local handla = KonuHandaru
  313. local hito = Hitoboksu
  314. local tr1 = TUREIRU
  315.  
  316. function CreateSwirl(part)
  317. local pemit = Instance.new("ParticleEmitter",part)
  318. pemit.Name = "SUWARU"
  319. pemit.Texture = "rbxassetid://253188763"
  320. pemit.LightInfluence = 1
  321. pemit.Size = NumberSequence.new(0,2)
  322. pemit.Transparency = NumberSequence.new(0,1)
  323. pemit.ZOffset = .5
  324. pemit.Lifetime = NumberRange.new(1)
  325. pemit.Rate = 200
  326. pemit.Rotation = NumberRange.new(0,360)
  327. pemit.RotSpeed = NumberRange.new(-300,300)
  328. pemit.Speed = NumberRange.new(.2)
  329. pemit.SpreadAngle = Vector2.new(360,360)
  330. return pemit
  331. end
  332.  
  333. --This is just for builds--
  334. New = function(Object, Parent, Name, Data)
  335. local Object = Instance.new(Object)
  336. for Index, Value in pairs(Data or {}) do
  337. Object[Index] = Value
  338. end
  339. Object.Parent = Parent
  340. Object.Name = Name
  341. return Object
  342. end
  343. HandaruW = New("ManualWeld",handla,"HandaruW",{Part0 = handla,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0, -1, 0, 1, 0),C1 = CFrame.new(-0.199996948, -1.10000002, -1.14440918e-05, -1, 0, 0, 0, 1, 0, 0, 0, -1),})
  344. ---------------------------
  345.  
  346. function rayCast(Position, Direction, Range, Ignore)
  347. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  348. end
  349.  
  350. function FindNearestTorso(Position, Distance, SinglePlayer)
  351. if SinglePlayer then
  352. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  353. end
  354. local List = {}
  355. for i, v in pairs(workspace:GetDescendants()) do
  356. if v:IsA("Model") then
  357. if v:findFirstChild("Head") then
  358. if v ~= chara then
  359. if (v.Head.Position - Position).magnitude <= Distance then
  360. table.insert(List, v)
  361. end
  362. end
  363. end
  364. end
  365. end
  366. return List
  367. end
  368.  
  369. EffectModel = Create("Model"){
  370. Parent = chara,
  371. Name = "Effects",
  372. }
  373.  
  374. --Effect Functions--
  375. Effects = {
  376.  
  377. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  378. local p = Instance.new("Part",EffectModel)
  379. p.BrickColor = BrickColor.new(colour)
  380. p.Size = partsize
  381. p.Anchored = true
  382. p.CanCollide = false
  383. p.Material = matr
  384. p.CFrame = cf
  385. if inverse == true then
  386. p.Transparency = 1
  387. else
  388. p.Transparency = 0
  389. end
  390. local m = Instance.new("BlockMesh",p)
  391. m.Scale = meshstart
  392. coroutine.wrap(function()
  393. for i=0,1,factor do
  394. swait()
  395. if inverse == true then
  396. p.Transparency = 1-i
  397. else
  398. p.Transparency = i
  399. end
  400. m.Scale = m.Scale + meshadd
  401. if spin == true then
  402. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  403. end
  404. end
  405. p:Destroy()
  406. end)()
  407. return p
  408. end,
  409.  
  410. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  411. local p = Instance.new("Part",EffectModel)
  412. p.BrickColor = BrickColor.new(colour)
  413. p.Size = partsize
  414. p.Anchored = true
  415. p.CanCollide = false
  416. p.Material = matr
  417. p.CFrame = cf
  418. if inverse == true then
  419. p.Transparency = 1
  420. else
  421. p.Transparency = 0
  422. end
  423. local m = Instance.new("SpecialMesh",p)
  424. m.MeshType = "Sphere"
  425. m.Scale = meshstart
  426. coroutine.wrap(function()
  427. for i=0,1,factor do
  428. swait()
  429. if inverse == true then
  430. p.Transparency = 1-i
  431. else
  432. p.Transparency = i
  433. end
  434. m.Scale = m.Scale + meshadd
  435. end
  436. p:Destroy()
  437. end)()
  438. return p
  439. end,
  440.  
  441. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  442. local p = Instance.new("Part",EffectModel)
  443. p.BrickColor = BrickColor.new(colour)
  444. p.Size = partsize
  445. p.Anchored = true
  446. p.CanCollide = false
  447. p.Material = matr
  448. p.CFrame = cf
  449. if inverse == true then
  450. p.Transparency = 1
  451. else
  452. p.Transparency = 0
  453. end
  454. local m = Instance.new("CylinderMesh",p)
  455. m.Scale = meshstart
  456. coroutine.wrap(function()
  457. for i=0,1,factor do
  458. swait()
  459. if inverse == true then
  460. p.Transparency = 1-i
  461. else
  462. p.Transparency = i
  463. end
  464. m.Scale = m.Scale + meshadd
  465. end
  466. p:Destroy()
  467. end)()
  468. return p
  469. end,
  470.  
  471. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  472. local p = Instance.new("Part",EffectModel)
  473. p.BrickColor = BrickColor.new(colour)
  474. p.Size = Vector3.new()
  475. p.Anchored = true
  476. p.CanCollide = false
  477. p.CFrame = cf
  478. if inverse == true then
  479. p.Transparency = 1
  480. else
  481. p.Transparency = 0
  482. end
  483. local m = Instance.new("SpecialMesh",p)
  484. m.MeshId = "rbxassetid://20329976"
  485. m.Scale = meshstart
  486. coroutine.wrap(function()
  487. for i=0,1,factor do
  488. swait()
  489. if inverse == true then
  490. p.Transparency = 1-i
  491. else
  492. p.Transparency = i
  493. end
  494. m.Scale = m.Scale + meshadd
  495. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  496. end
  497. p:Destroy()
  498. end)()
  499. return p
  500. end,
  501.  
  502. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  503. local p = Instance.new("Part",EffectModel)
  504. p.BrickColor = BrickColor.new(colour)
  505. p.Size = Vector3.new()
  506. p.Anchored = true
  507. p.CanCollide = false
  508. p.CFrame = cf
  509. if inverse == true then
  510. p.Transparency = 1
  511. else
  512. p.Transparency = 0
  513. end
  514. local m = Instance.new("SpecialMesh",p)
  515. m.MeshId = "rbxassetid://3270017"
  516. m.Scale = meshstart
  517. coroutine.wrap(function()
  518. for i=0,1,factor do
  519. swait()
  520. if inverse == true then
  521. p.Transparency = 1-i
  522. else
  523. p.Transparency = i
  524. end
  525. m.Scale = m.Scale + meshadd
  526. end
  527. p:Destroy()
  528. end)()
  529. return p
  530. end,
  531.  
  532. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  533. local p = Instance.new("Part",EffectModel)
  534. p.BrickColor = BrickColor.new(colour)
  535. p.Size = Vector3.new()
  536. p.Anchored = true
  537. p.CanCollide = false
  538. p.CFrame = cf
  539. if inverse == true then
  540. p.Transparency = 1
  541. else
  542. p.Transparency = 0
  543. end
  544. local m = Instance.new("SpecialMesh",p)
  545. m.MeshId = meshid
  546. m.TextureId = textid
  547. m.Scale = meshstart
  548. coroutine.wrap(function()
  549. for i=0,1,factor do
  550. swait()
  551. if inverse == true then
  552. p.Transparency = 1-i
  553. else
  554. p.Transparency = i
  555. end
  556. m.Scale = m.Scale + meshadd
  557. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  558. end
  559. p:Destroy()
  560. end)()
  561. return p
  562. end,
  563.  
  564. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  565. local p = Instance.new("Part",EffectModel)
  566. p.BrickColor = BrickColor.new(colour)
  567. p.Size = partsize
  568. p.Anchored = true
  569. p.CanCollide = false
  570. p.Material = matr
  571. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  572. if inverse == true then
  573. p.Transparency = 1
  574. else
  575. p.Transparency = 0
  576. end
  577. local m = Instance.new("SpecialMesh",p)
  578. m.MeshType = "Sphere"
  579. m.Scale = meshstart
  580. coroutine.wrap(function()
  581. for i=0,1,factor do
  582. swait()
  583. if inverse == true then
  584. p.Transparency = 1-i
  585. else
  586. p.Transparency = i
  587. end
  588. m.Scale = m.Scale + meshadd
  589. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  590. end
  591. p:Destroy()
  592. end)()
  593. return p
  594. end,
  595.  
  596. }
  597.  
  598. function chatfunc(text)
  599. coroutine.wrap(function()
  600. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  601. chara:FindFirstChild("TalkingBillBoard"):destroy()
  602. end
  603. local naeeym2 = Instance.new("BillboardGui",chara)
  604. naeeym2.Size = UDim2.new(0,100,0,40)
  605. naeeym2.StudsOffset = Vector3.new(0,3,0)
  606. naeeym2.Adornee = chara.Head
  607. naeeym2.Name = "BLABLABLA"
  608. local tecks2 = Instance.new("TextLabel",naeeym2)
  609. tecks2.BackgroundTransparency = 1
  610. tecks2.BorderSizePixel = 0
  611. tecks2.Text = ""
  612. tecks2.Font = "Fantasy"
  613. tecks2.FontSize = "Size24"
  614. tecks2.TextStrokeTransparency = 0
  615. tecks2.TextColor3 = Color3.new(1,1,1)
  616. tecks2.TextStrokeColor3 = Color3.new(0,1,1)
  617. tecks2.Size = UDim2.new(1,0,0.5,0)
  618. for i = 1,string.len(text),1 do
  619. tecks2.Text = string.sub(text,1,i)
  620. swait()
  621. end
  622. swait(30)
  623. for i = 1, 5 do
  624. swait()
  625. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  626. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  627. tecks2.TextTransparency = tecks2.TextTransparency + .2
  628. end
  629. naeeym2:Destroy()
  630. end)()
  631. end
  632.  
  633. function GetDudesTorso(c)
  634. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  635. if torsy ~= nil then
  636. return torsy
  637. end
  638. end
  639.  
  640. function BodyVel(part,faws)
  641. local bodyvel = Instance.new("BodyVelocity",part)
  642. local pep = 10000000
  643. bodyvel.P = pep
  644. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  645. bodyvel.Velocity = faws
  646. debby:AddItem(bodyvel,.2)
  647. end
  648.  
  649. function Dmg(guy)
  650. coroutine.wrap(function()
  651. local hum = guy:FindFirstChildOfClass("Humanoid")
  652. if hum and guy:FindFirstChild("HITO")==nil then
  653. Instance.new("BoolValue",guy).Name = "HITO"
  654. local torsy = GetDudesTorso(guy)
  655. if torsy then
  656. so(32656713,torsy,1,2)
  657. end
  658. local par = {}
  659. for i,v in pairs(guy:GetDescendants()) do
  660. if v:IsA("BasePart") then
  661. table.insert(par,v)
  662. if v.Name ~= "HumanoidRootPart" then
  663. v.Anchored = true
  664. end
  665. CreateSwirl(v)
  666. end
  667. end
  668. swait(20)
  669. if torsy then
  670. so(203936153,torsy,1,2)
  671. end
  672. for i,v in pairs(guy:GetDescendants()) do
  673. if v.Name == "SUWARU" then
  674. v.Enabled = false
  675. end
  676. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Decal") and v.Name ~= "face" then
  677. v:Destroy()
  678. end
  679. for i,v in pairs(par) do
  680. if v then
  681. if v:FindFirstChild("SpecialMesh") then
  682. v:FindFirstChild("SpecialMesh").TextureId = ""
  683. end
  684. if v:IsA("MeshPart") then
  685. v.TextureID = ""
  686. end
  687. v.BrickColor = BrickColor.new("Baby blue")
  688. v.Material = "Ice"
  689. end
  690. end
  691. end
  692. swait(40)
  693. if torsy then
  694. so(87015121,torsy,1,2)
  695. end
  696. guy:BreakJoints()
  697. for ba=1,6 do
  698. Effects.Explode(torsy.CFrame,Vector3.new(1,1,1),Vector3.new(6,6,6),Vector3.new(.05,.05,.05),"SmoothPlastic","White",.05,false,.025)--+Vector3.new(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  699. end
  700. for ab = 1,math.random(6,10) do
  701. local sa = math.random(5,9)/10
  702. local ice = Instance.new("Part",EffectModel)
  703. ice.CFrame = torsy.CFrame
  704. ice.BrickColor = BrickColor.new("Baby blue")
  705. ice.Material = "Ice"
  706. ice.Size = Vector3.new(sa,sa,sa)
  707. ice.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  708. ice.RotVelocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  709. coroutine.wrap(function()
  710. swait(120)
  711. ice.Orientation = Vector3.new(0,ice.Orientation.y,0)
  712. for b = 0,1,.05 do
  713. swait()
  714. ice.Transparency = b
  715. ice.Size = ice.Size + Vector3.new(.05,-.05,.05)
  716. end
  717. ice:Destroy()
  718. end)()
  719. end
  720. for i,v in pairs(par) do
  721. v:Destroy()
  722. end
  723. end
  724. end)()
  725. end
  726.  
  727. function MagnitudeDmg(par,magni)
  728. for _, c in pairs(workspace:GetDescendants()) do
  729. local hum = c:FindFirstChildOfClass("Humanoid")
  730. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  731. local head = GetDudesTorso(c)
  732. if head ~= nil then
  733. local targ = head.Position - par.Position
  734. local mag = targ.magnitude
  735. if magni >= mag and c ~= chara then
  736. Dmg(c)
  737. end
  738. end
  739. end
  740. end
  741. end
  742.  
  743. combo = 1
  744.  
  745. local mus = Instance.new("Sound",chara)
  746. mus.Name = "mus"
  747. mus.SoundId = "rbxassetid://189224548"
  748. mus.Looped = true
  749. mus.Volume = 1
  750. mus:Play()
  751.  
  752. coroutine.wrap(function()
  753. Humanoid.Name = "asldlasldlasdl"
  754. Humanoid.Health = math.huge
  755. Humanoid.MaxHealth = math.huge
  756. end)()
  757.  
  758. --Intro--
  759. Humanoid.WalkSpeed = 0
  760. for i,v in pairs(wep:children()) do
  761. if v~=handla then
  762. v.Transparency = 1
  763. end
  764. end
  765. swait(20)
  766. chatfunc("Revenge is a dish best served cold!")
  767. for i=0,1,.1 do
  768. swait()
  769. PlayAnimationFromTable({
  770. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  771. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  772. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  773. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  774. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  775. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  776. }, .3, false)
  777. end
  778. local para = {}
  779. for i=-2,2,.2 do
  780. local ice = Instance.new("Part",EffectModel)
  781. ice.Size = Vector3.new(1,1,1)
  782. ice.CanCollide = false
  783. ice.BrickColor = BrickColor.new("Baby blue")
  784. ice.Material = "Ice"
  785. local icew = Instance.new("Weld",ice)
  786. icew.Part0 = hito
  787. icew.Part1 = ice
  788. icew.C0 = CFrame.new(0,-i,0)*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  789. table.insert(para,ice)
  790. so(32656754,ice,1,1)
  791. swait()
  792. end
  793. swait(30)
  794. so(87015121,hito,1,1)
  795. for i,v in pairs(wep:children()) do
  796. v.Transparency = 0
  797. end
  798. for i,v in pairs(para) do
  799. v:BreakJoints()
  800. v.Anchored = true
  801. coroutine.wrap(function()
  802. for i=0,1,.05 do
  803. swait()
  804. v.CFrame = v.CFrame*CFrame.new(0,.5,0)
  805. v.Transparency = i
  806. end
  807. v:Destroy()
  808. end)()
  809. end
  810. swait(60)
  811. chatfunc([["Ice" to meet you today!]])
  812. Humanoid.WalkSpeed = 40
  813. --------------------------------------------------
  814.  
  815. function smek()
  816. attack = true
  817. for i=0,1,.2 do
  818. swait()
  819. PlayAnimationFromTable({
  820. CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  821. CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  822. CFrame.new(1.06065702, 1.09677029, -0.161810428, 0.400286436, 0.242276207, 0.88378346, 0.734158754, -0.661962748, -0.151050553, 0.548435688, 0.709300876, -0.442843854),
  823. CFrame.new(-1.59605861, 0.10887894, 1.11486224e-06, 0.984807909, 0.173648059, -2.23517418e-06, -0.173648059, 0.984807849, 3.82394944e-07, 2.29477882e-06, 1.86264515e-08, 1),
  824. CFrame.new(0.685087919, -1.96527183, 0.0673596561, 0.92541647, -0.163175598, -0.342020869, 0.173647985, 0.984807849, 2.90093368e-07, 0.336824894, -0.0593915246, 0.939692438),
  825. CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511),
  826. }, .4, false)
  827. end
  828. Humanoid.WalkSpeed = 2
  829. tr1.Enabled = true
  830. so(32656754,hito,math.random(9,11)/10,1)
  831. for i=0,1,.2 do
  832. swait()
  833. PlayAnimationFromTable({
  834. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  835. CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  836. CFrame.new(1.6195364, 0.256343663, -3.60019794e-06, 0.939692736, -0.342020124, -8.94069672e-08, 0.342020154, 0.939692676, -4.35416268e-07, 2.08616257e-07, 3.87430191e-07, 1),
  837. CFrame.new(-1.65980804, 0.323206544, 5.72385352e-06, 0.866025329, 0.500000238, -2.98023224e-07, -0.500000179, 0.866025388, -1.34623383e-06, -4.47034836e-07, 1.29640102e-06, 1.00000012),
  838. CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616),
  839. CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  840. }, .4, false)
  841. MagnitudeDmg(hito,3)
  842. end
  843. swait(5)
  844. Humanoid.WalkSpeed = 40
  845. tr1.Enabled = false
  846. attack = false
  847. end
  848.  
  849. function asmek()
  850. attack = true
  851. Humanoid.WalkSpeed = 50
  852. RootPart.Velocity = Vector3.new(RootPart.Velocity.X,30,RootPart.Velocity.Z)
  853. tr1.Enabled = true
  854. so(32656754,hito,math.random(9,11)/10,1)
  855. for i = 0,1.5,.1 do
  856. swait()
  857. PlayAnimationFromTable({
  858. CFrame.new(-2.14576721e-06, -1.66893005e-06, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1)*CFrame.Angles(0,math.rad(360)*-i,0),
  859. CFrame.new(0, 1.50000107, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  860. CFrame.new(1.4999969, 1.00000238, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  861. CFrame.new(-1.49999905, 1.00000238, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1),
  862. CFrame.new(0.499999046, -1.99999499, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  863. CFrame.new(-0.500001907, -1.99999404, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  864. }, .3, false)
  865. MagnitudeDmg(hito,3)
  866. end
  867. Humanoid.WalkSpeed = 40
  868. tr1.Enabled = false
  869. attack = false
  870. end
  871.  
  872. function burasuto()
  873. attack = true
  874. Humanoid.WalkSpeed = 5
  875. for i=0,2,.1 do
  876. swait()
  877. PlayAnimationFromTable({
  878. CFrame.new(0.0358428955, 0, 0.0325927734, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  879. CFrame.new(0.0325870365, 1.49998832, -0.0358416028, 0.0301539954, 0.171010062, -0.984807789, 0.171009988, 0.969846368, 0.173648238, 0.984807849, -0.173648134, 3.13053391e-07),
  880. CFrame.new(1.5, 0.899998665, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  881. CFrame.new(-1.50195909, 0.627066612, -0.676912427, 0.984807849, -0.17364797, 1.12223177e-07, -0.030152997, -0.171006978, -0.984808326, 0.171009988, 0.969846904, -0.17364502),
  882. CFrame.new(0.5, -1.8499999, 0.459799707, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
  883. CFrame.new(-0.5, -1.57705688, -0.280751318, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  884. }, .4, false)
  885. Effects.Ring(RightArm.CFrame*CFrame.new(0,-1,0)* CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(10,10,1),Vector3.new(-1,-1,0),"White",true,.1)
  886. Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.1,-.1,-.1),"Ice","White",true,true,.1)
  887. end
  888. so(588736245,RightArm,.8,1)
  889. local dir = (RightArm.Position - Mouse.Hit.p).unit
  890. local blast = Instance.new("Part",EffectModel)
  891. blast.Name = "Burasuto"
  892. blast.BrickColor = BrickColor.new("Baby blue")
  893. blast.Size = Vector3.new(3,3,3)
  894. blast.Anchored = true
  895. blast.CanCollide = false
  896. blast.Material = "Neon"
  897. blast.Shape = "Ball"
  898. blast.CFrame = CFrame.new(RightArm.Position,RightArm.Position+dir)
  899. local pe = CreateSwirl(blast)
  900. pe.Size = NumberSequence.new(2,0)
  901. debby:AddItem(blast,10)
  902. coroutine.wrap(function()
  903. local par,pos
  904. local ta = 0
  905. repeat
  906. swait()
  907. par,pos = rayCast(blast.Position,blast.CFrame.lookVector*2,5,chara)
  908. if par ~= nil then
  909. blast.CFrame = CFrame.new(pos)
  910. else
  911. blast.CFrame = blast.CFrame * CFrame.new(0,0,4)
  912. end
  913. until par ~= nil
  914. for b=1,2 do
  915. Effects.Block(blast.CFrame,Vector3.new(1,1,1),Vector3.new(),Vector3.new(1,1,1),"Ice","White",true,false,.1)
  916. end
  917. so(747238556,blast,1,1)
  918. MagnitudeDmg(blast,5)
  919. blast.Transparency = 1
  920. debby:AddItem(blast,3)
  921. end)()
  922. Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(.2,0,.2),"White",10,false,.05)
  923. Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(1,0,1),"Baby blue",-10,false,.05)
  924. BodyVel(Torso,RootPart.CFrame.lookVector*-5)
  925. swait(20)
  926. Humanoid.WalkSpeed = 40
  927. attack = false
  928. end
  929.  
  930. function freeze()
  931. attack = true
  932. Humanoid.WalkSpeed = 4
  933. chatfunc("That's it!")
  934. coroutine.wrap(function()
  935. for a=0,1,.1 do
  936. swait()
  937. for i,v in pairs(wep:children()) do
  938. v.Transparency = i
  939. end
  940. end
  941. end)()
  942. for i = 0,1,.1 do
  943. swait()
  944. PlayAnimationFromTable({
  945. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  946. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  947. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  948. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  949. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  950. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  951. }, .3, false)
  952. end
  953. for i = 0,4,.05 do
  954. swait()
  955. PlayAnimationFromTable({
  956. CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  957. CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  958. CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0),
  959. CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  960. CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428),
  961. CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772),
  962. }, .3, false)
  963. Effects.Block(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05)
  964. Effects.Block(LeftArm.CFrame*CFrame.new(0,-1,0),Vector3.new(2,2,2),Vector3.new(1,1,1),Vector3.new(-.05,-.05,-.05),"Ice","White",true,true,.05)
  965. end
  966. swait(20)
  967. for i = 0,1,.1 do
  968. swait()
  969. PlayAnimationFromTable({
  970. CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  971. CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  972. CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
  973. CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
  974. CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  975. CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  976. }, .3, false)
  977. end
  978. local pemit1 = CreateSwirl(RightArm)
  979. pemit1.SpreadAngle = Vector2.new(20,20)
  980. pemit1.EmissionDirection = "Bottom"
  981. pemit1.Lifetime = NumberRange.new(.7)
  982. pemit1.Speed = NumberRange.new(20)
  983. pemit1.Size = NumberSequence.new(0,5)
  984. local pemit2 = pemit1:Clone()
  985. pemit2.Parent = LeftArm
  986. local pa = Instance.new("Part",chara)
  987. pa.Size = Vector3.new(0,0,0)
  988. pa.CanCollide = false
  989. pa.Anchored = true
  990. pa.Transparency = 1
  991. so(87014838,Torso,1,1)
  992. chatfunc("Freeze... to... death...")
  993. for i=1,200 do
  994. pa.CFrame = RootPart.CFrame * CFrame.new(0,0,-7)
  995. MagnitudeDmg(pa,8)
  996. swait()
  997. end
  998. pemit1.Enabled = false
  999. pemit2.Enabled = false
  1000. pa:Destroy()
  1001. debby:AddItem(pemit1,4)
  1002. debby:AddItem(pemit2,4)
  1003. swait(30)
  1004. coroutine.wrap(function()
  1005. for a=0,1,.1 do
  1006. swait()
  1007. for i,v in pairs(wep:children()) do
  1008. v.Transparency = 1-i
  1009. end
  1010. end
  1011. for i,v in pairs(wep:children()) do
  1012. v.Transparency = 0
  1013. end
  1014. end)()
  1015. Humanoid.WalkSpeed = 40
  1016. tr1.Enabled = false
  1017. attack = false
  1018. end
  1019.  
  1020. function areafreeze()
  1021. attack = true
  1022. Humanoid.WalkSpeed = 0
  1023. chatfunc("The winter is coming..")
  1024. coroutine.wrap(function()
  1025. for a=0,1,.1 do
  1026. swait()
  1027. for i,v in pairs(wep:children()) do
  1028. v.Transparency = i
  1029. end
  1030. end
  1031. end)()
  1032. for i = 0,1,.1 do
  1033. swait()
  1034. PlayAnimationFromTable({
  1035. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1036. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1037. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  1038. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1039. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1040. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1041. }, .3, false)
  1042. end
  1043. for i = 0,4,.05 do
  1044. swait()
  1045. PlayAnimationFromTable({
  1046. CFrame.new(),
  1047. CFrame.new(0, 1.46578932, -0.0939713717, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1048. CFrame.new(0.748245835, 0.499998569, -0.773616076, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  1049. CFrame.new(-0.748251557, 0.499999017, -0.773617327, 0.342020124, -0.939692616, 4.10752676e-08, 0, -4.37113883e-08, -1, 0.939692616, 0.342020124, -1.49501744e-08),
  1050. CFrame.new(0.499996185, -1.28161228, -0.232838884, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1051. CFrame.new(-0.5, -1.99999928, 0.299997658, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1052. }, .3, false)
  1053. Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(10,0,10),Vector3.new(-.5,.05,-.5),"White",math.random(-10,10),true,.05)
  1054. Effects.Meshed(RootPart.CFrame*CFrame.new(math.random(-10,10),math.random(-1,5),math.random(-10,10))*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(2,2,2),Vector3.new(),"White","rbxassetid://187687161","",math.random(-2,2),false,.05)
  1055. end
  1056. swait(20)
  1057. chatfunc("COMETH, BLIZZARD O' DEATH!")
  1058. for i = 0,2,.1 do
  1059. swait()
  1060. PlayAnimationFromTable({
  1061. CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1062. CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  1063. CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0),
  1064. CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  1065. CFrame.new(0.50000006, -2.02669048, 0.381489158, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428),
  1066. CFrame.new(-0.500001907, -2.02669072, 0.381488144, 0.866025388, 0, 0.500000238, -0.171010032, 0.939692736, 0.296197921, -0.469846606, -0.342019886, 0.813797772),
  1067. }, .3, false)
  1068. end
  1069. so(632669170,Torso,1,1)
  1070. MagnitudeDmg(RootPart,20)
  1071. for i=1,2 do
  1072. Effects.Block(Torso.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(3,3,3),"Ice","White",true,false,.05)
  1073. Effects.Ring(Torso.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))),Vector3.new(1,1,.5),Vector3.new(5,5,0),"White",false,.05)
  1074. end
  1075. Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(0,1,0),Vector3.new(5,0,5),"White",10,false,.05)
  1076. swait(30)
  1077. coroutine.wrap(function()
  1078. for a=0,1,.1 do
  1079. swait()
  1080. for i,v in pairs(wep:children()) do
  1081. v.Transparency = 1-i
  1082. end
  1083. end
  1084. for i,v in pairs(wep:children()) do
  1085. v.Transparency = 0
  1086. end
  1087. end)()
  1088. Humanoid.WalkSpeed = 40
  1089. tr1.Enabled = false
  1090. attack = false
  1091. end
  1092.  
  1093. Mouse.Button1Down:connect(function()
  1094. if attack == false then
  1095. if Anim == "Jump" or Anim == "Fall" then
  1096. asmek()
  1097. else
  1098. smek()
  1099. end
  1100. end
  1101. end)
  1102.  
  1103. local sprintt = 0
  1104. Mouse.KeyDown:connect(function(k)
  1105. k = k:lower()
  1106. if k=='m' then
  1107. if mus.IsPlaying == true then
  1108. mus:Stop()
  1109. elseif mus.IsPaused == true then
  1110. mus:Play()
  1111. end
  1112. end
  1113. if attack == false then
  1114. if k == 'z' then
  1115. burasuto()
  1116. elseif k == 'x' then
  1117. freeze()
  1118. elseif k == 'c' then
  1119. areafreeze()
  1120. end
  1121. end
  1122. end)
  1123.  
  1124. --Mouse.KeyUp:connect(function(k)
  1125. --k = k:lower()
  1126. --if k == 'e' then
  1127. --ehold = false
  1128. --elseif k == 'z' then
  1129. --zhold = false
  1130. --elseif k == 'v' then
  1131. --vhold = false
  1132. --elseif k == 'g' then
  1133. --ghold = false
  1134. --end
  1135. --end)
  1136.  
  1137. coroutine.wrap(function()
  1138. while 1 do
  1139. swait()
  1140. if doe <= 360 then
  1141. doe = doe + 2
  1142. else
  1143. doe = 0
  1144. end
  1145. end
  1146. end)()
  1147. while true do
  1148. swait()
  1149. while true do
  1150. swait()
  1151. if chara:FindFirstChild("mus")==nil then
  1152. mus = Instance.new("Sound",chara)
  1153. mus.Name = "mus"
  1154. mus.SoundId = "rbxassetid://189224548"
  1155. mus.Looped = true
  1156. mus.Volume = 1
  1157. mus:Play()
  1158. end
  1159. if sprintt >= 1 then
  1160. sprintt = sprintt - 1
  1161. end
  1162. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1163. velocity = RootPart.Velocity.y
  1164. sine = sine + change
  1165. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  1166. if RootPart.Velocity.y > 1 and hit == nil then
  1167. Anim = "Jump"
  1168. if attack == false then
  1169. PlayAnimationFromTable({
  1170. CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1171. CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
  1172. CFrame.new(1.20945489, -0.213504896, 3.55388607e-07, 0.939692736, 0.342019916, 1.53461215e-07, -0.342019945, 0.939692736, 1.93715096e-07, -8.56816769e-08, -2.23517418e-07, 1.00000012),
  1173. CFrame.new(-1.20945573, -0.213503733, 5.0439985e-07, 0.939692736, -0.342019916, -1.53461215e-07, 0.342019945, 0.939692736, 1.93715096e-07, 8.56816769e-08, -2.23517418e-07, 1.00000012),
  1174. CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1175. CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1176. }, .3, false)
  1177. end
  1178. elseif RootPart.Velocity.y < -1 and hit == nil then
  1179. Anim = "Fall"
  1180. if attack == false then
  1181. PlayAnimationFromTable({
  1182. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1183. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1184. CFrame.new(1.55285025, 0.466259956, -9.26282269e-08, 0.766043842, -0.642788351, -6.46188241e-08, 0.642788291, 0.766043961, -7.4505806e-08, 1.04308128e-07, 1.49011612e-08, 1.00000012),
  1185. CFrame.new(-1.5605253, 0.475036323, -2.10609159e-07, 0.766043842, 0.642788351, 6.46188241e-08, -0.642788291, 0.766043961, -7.4505806e-08, -1.04308128e-07, 1.49011612e-08, 1.00000012),
  1186. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1187. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1188. }, .3, false)
  1189. end
  1190. elseif Torsovelocity < 1 and hit ~= nil then
  1191. Anim = "Idle"
  1192. if attack == false then
  1193. change = 1
  1194. PlayAnimationFromTable({
  1195. CFrame.new(0, 0, 0, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736) * CFrame.new(0,.05 * math.cos((sine)/10), 0),
  1196. CFrame.new(-1.22189522e-06, 1.49999833, -3.15904617e-06, 0.925416768, -0.101305634, -0.365159065, 0.173647985, 0.969846427, 0.171009958, 0.336823881, -0.221664593, 0.915103614),
  1197. CFrame.new(1.4999994, 0, 7.15255737e-07, 0.984807849, 0, -0.173648164, 0, 1, 0, 0.173648134, 0, 0.984807849),
  1198. CFrame.new(-1.3973906, -0.196961865, -0.0180919915, 0.969846308, -0.171010002, 0.173648715, 0.173648089, 0.984807789, 2.70171853e-07, -0.171010703, 0.0301535055, 0.98480773),
  1199. CFrame.new(0.499998569, -1.99999797, -5.96046448e-07, 0.939692736, 0, -0.342019916, 0, 1, 0, 0.342019886, 0, 0.939692736) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1200. CFrame.new(-0.499999195, -1.99999797, 1.17719173e-06, 0.939692438, 0, 0.342020929, 0, 1, 0, -0.342020959, 0, 0.939692438) * CFrame.new(0,-.05 * math.cos((sine)/10), 0),
  1201. }, .3, false)
  1202. end
  1203. elseif Torsovelocity > 2 and hit ~= nil then
  1204. Anim = "Walk"
  1205. if attack == false then
  1206. Humanoid.WalkSpeed = 40
  1207. Humanoid.JumpPower = 70
  1208. PlayAnimationFromTable({
  1209. CFrame.new(-2.4138464e-07, 0.123327732, -0.188363045, 1, -4.38293796e-07, 1.20420327e-06, 0, 0.939692736, 0.342019886, -1.28148622e-06, -0.342019916, 0.939692736) * CFrame.new(0, 0- .08 * math.cos((sine/2.5)), 0),
  1210. CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1211. CFrame.new(1.39999986, 4.76837158e-07, 0.173205554, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1212. CFrame.new(-1.53598976, 0.0413191095, -1.86092848e-06, 0.995650649, 0.0931596532, -2.61508148e-07, -0.0931649953, 0.995651186, -1.00695124e-05, -7.49969331e-07, 1.08217946e-05, 1.00000024) * CFrame.new(0, 0, .6 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0),
  1213. CFrame.new(0.540300786, -1.99793816, -9.82598067e-07, 0.998698533, -0.0510031395, 6.36324955e-07, 0.0510031395, 0.998698533, -1.00461093e-05, -8.35937328e-08, 1.08393433e-05, 1.00000024) * CFrame.new(0, 0, 0+ 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 2.5)), 0, 0),
  1214. CFrame.new(-0.539563596, -1.99794078, 1.12228372e-06, 0.998635888, 0.0523072146, -1.77852357e-07, -0.0523072146, 0.998635888, -1.00715051e-05, -3.89727461e-07, 1.08406466e-05, 1.00000024) * CFrame.new(0, 0, 0- 1 * math.cos((sine) / 2.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 2.5)), 0, 0),
  1215. }, .3, false)
  1216. end
  1217. end
  1218. end
  1219. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement