Advertisement
kilcrafter

Ice Cream

Sep 1st, 2019
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 Mokiros")
  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. --I SCREAM, YOU SCREAM, WE ALL SCREAM, RUNNING AWAY IN A FUTILE ATTEMPT TO ESCAPE FROM THE INEVITABLE ARRIVAL OF DEATH--
  85. ------------------------------------------------------------------------------------------------------------------------
  86. --By CKbackup (Sugarie Saffron) --
  87. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  88. --Discord: Sugarie Saffron#4705 --
  89. ----------------------------------------------------------------
  90.  
  91. print([[
  92. --Ice Cream--
  93. By CKbackup (Sugarie Saffron)
  94. YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw
  95. Discord: Sugarie Saffron#4705
  96. --------------------------------
  97. (Keys)
  98. M - Mute/Play Music
  99.  
  100. Click - Slash
  101. (Aerial Slash when jumping)
  102. Z - Freezing Bullet
  103. X - Thy Winter Shall Come Forth
  104. C - Blizzard o' Death
  105. ]])
  106.  
  107. wait(1/60)
  108. Effects = { }
  109. local Player = owner
  110. local chara = Player.Character
  111. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  112. local LeftArm = chara["Left Arm"]
  113. local RightArm = chara["Right Arm"]
  114. local LeftLeg = chara["Left Leg"]
  115. local RightLeg = chara["Right Leg"]
  116. local Head = chara.Head
  117. local Torso = chara.Torso
  118. local Camera = workspace.CurrentCamera
  119. local RootPart = chara.HumanoidRootPart
  120. local RootJoint = RootPart.RootJoint
  121. local attack = false
  122. local Anim = 'Idle'
  123. local attacktype = 1
  124. local delays = false
  125. local play = true
  126. local targetted = nil
  127. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  128. local velocity = RootPart.Velocity.y
  129. local sine = 0
  130. local change = 1
  131. local doe = 0
  132. local Create = LoadLibrary("RbxUtility").Create
  133. local debby = game:GetService("Debris")
  134. Humanoid.WalkSpeed = 16
  135.  
  136. Humanoid.Animator.Parent = nil
  137. chara.Animate.Parent = nil
  138.  
  139. local newMotor = function(part0, part1, c0, c1)
  140. local w = Create('Motor'){
  141. Parent = part0,
  142. Part0 = part0,
  143. Part1 = part1,
  144. C0 = c0,
  145. C1 = c1,
  146. }
  147. return w
  148. end
  149.  
  150. function clerp(a, b, t)
  151. return a:lerp(b, t)
  152. end
  153.  
  154. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  155. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  156.  
  157. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  158. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  159. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  160. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  161. RootJoint.C1 = CFrame.new(0, 0, 0)
  162. RootJoint.C0 = CFrame.new(0, 0, 0)
  163. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  164. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  165.  
  166. local rarmc1 = RW.C1
  167. local larmc1 = LW.C1
  168. local rlegc1 = RH.C1
  169. local llegc1 = LH.C1
  170.  
  171. local resetc1 = false
  172.  
  173. function PlayAnimationFromTable(table, speed, bool)
  174. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  175. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  176. RW.C0 = clerp(RW.C0, table[3], speed)
  177. LW.C0 = clerp(LW.C0, table[4], speed)
  178. RH.C0 = clerp(RH.C0, table[5], speed)
  179. LH.C0 = clerp(LH.C0, table[6], speed)
  180. if bool == true then
  181. if resetc1 == false then
  182. resetc1 = true
  183. RootJoint.C1 = RootJoint.C1
  184. Torso.Neck.C1 = Torso.Neck.C1
  185. LW.C1 = larmc1
  186. RW.C1 = rarmc1
  187. RH.C1 = rlegc1
  188. LH.C1 = llegc1
  189. end
  190. end
  191. end
  192.  
  193. ArtificialHB = Instance.new("BindableEvent", script)
  194. ArtificialHB.Name = "Heartbeat"
  195. script:WaitForChild("Heartbeat")
  196. frame = 0.03333333333333
  197. tf = 0
  198. allowframeloss = false
  199. tossremainder = false
  200. lastframe = tick()
  201. script.Heartbeat:Fire()
  202. game:GetService("RunService").Heartbeat:connect(function(s, p)
  203. tf = tf + s
  204. if tf >= frame then
  205. if allowframeloss then
  206. script.Heartbeat:Fire()
  207. lastframe = tick()
  208. else
  209. for i = 1, math.floor(tf / frame) do
  210. script.Heartbeat:Fire()
  211. end
  212. lastframe = tick()
  213. end
  214. if tossremainder then
  215. tf = 0
  216. else
  217. tf = tf - frame * math.floor(tf / frame)
  218. end
  219. end
  220. end)
  221. function swait(num)
  222. if num == 0 or num == nil then
  223. ArtificialHB.Event:wait()
  224. else
  225. for i = 0, num do
  226. ArtificialHB.Event:wait()
  227. end
  228. end
  229. end
  230.  
  231. function RemoveOutlines(part)
  232. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  233. end
  234.  
  235. function so(id,par,pit,vol)
  236. local sou = Instance.new("Sound", par or workspace)
  237. if par == chara then
  238. sou.Parent = chara.Torso
  239. end
  240. sou.Volume = vol
  241. sou.Pitch = pit or 1
  242. sou.SoundId = "rbxassetid://" .. id
  243. sou.PlayOnRemove = true
  244. sou:Destroy()
  245. end
  246.  
  247. New = function(Object, Parent, Name, Data)
  248. local Object = Instance.new(Object)
  249. for Index, Value in pairs(Data or {}) do
  250. Object[Index] = Value
  251. end
  252. Object.Parent = Parent
  253. Object.Name = Name
  254. return Object
  255. end
  256.  
  257. ISCREAM = New("Model",chara,"ISCREAM",{})
  258. 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,})
  259. 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,})
  260. 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),})
  261. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  262. 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),})
  263. 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),})
  264. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  265. 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),})
  266. 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),})
  267. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  268. 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),})
  269. 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),})
  270. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  271. 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),})
  272. 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),})
  273. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  274. 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),})
  275. 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),})
  276. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  277. 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),})
  278. 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),})
  279. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  280. 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),})
  281. 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),})
  282. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  283. 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),})
  284. 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),})
  285. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  286. 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),})
  287. 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,})
  288. 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,})
  289. 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),})
  290. 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),})
  291. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  292. 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),})
  293. 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),})
  294. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  295. 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),})
  296. 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),})
  297. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  298. 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),})
  299. 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),})
  300. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  301. 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),})
  302. 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),})
  303. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  304. 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),})
  305. 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),})
  306. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  307. 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),})
  308. 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),})
  309. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  310. 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),})
  311. 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,})
  312. 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),})
  313. Mesh = New("BlockMesh",Hitoboksu,"Mesh",{Scale = Vector3.new(0, 0, 0),})
  314. att2 = New("Attachment",Hitoboksu,"att2",{CFrame = CFrame.new(0, -2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  315. att1 = New("Attachment",Hitoboksu,"att1",{CFrame = CFrame.new(0, 2.0999999, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),})
  316. 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),})
  317. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  318. 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),})
  319. 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),})
  320. Mesh = New("SpecialMesh",Part,"Mesh",{Scale = Vector3.new(1.29999995, 1.29999995, 1.29999995),MeshType = Enum.MeshType.Sphere,})
  321. 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),})
  322. TUREIRU = New("Trail",Hitoboksu,"TUREIRU",{Enabled = false,LightEmission = 1,Attachment1 = att1,Attachment0 = att2})
  323. TUREIRU.Color = ColorSequence.new({
  324. ColorSequenceKeypoint.new(0,Color3.fromRGB(255, 253, 208)),
  325. ColorSequenceKeypoint.new(0.5,Color3.fromRGB(255, 192, 203)),
  326. ColorSequenceKeypoint.new(1,Color3.fromRGB(123, 63, 0)),
  327. })
  328. TUREIRU.Transparency = NumberSequence.new(0,1)
  329.  
  330. local wep = ISCREAM
  331. local handla = KonuHandaru
  332. local hito = Hitoboksu
  333. local tr1 = TUREIRU
  334.  
  335. function CreateSwirl(part)
  336. local pemit = Instance.new("ParticleEmitter",part)
  337. pemit.Name = "SUWARU"
  338. pemit.Texture = "rbxassetid://253188763"
  339. pemit.LightInfluence = 1
  340. pemit.Size = NumberSequence.new(0,2)
  341. pemit.Transparency = NumberSequence.new(0,1)
  342. pemit.ZOffset = .5
  343. pemit.Lifetime = NumberRange.new(1)
  344. pemit.Rate = 200
  345. pemit.Rotation = NumberRange.new(0,360)
  346. pemit.RotSpeed = NumberRange.new(-300,300)
  347. pemit.Speed = NumberRange.new(.2)
  348. pemit.SpreadAngle = Vector2.new(360,360)
  349. return pemit
  350. end
  351.  
  352. --This is just for builds--
  353. New = function(Object, Parent, Name, Data)
  354. local Object = Instance.new(Object)
  355. for Index, Value in pairs(Data or {}) do
  356. Object[Index] = Value
  357. end
  358. Object.Parent = Parent
  359. Object.Name = Name
  360. return Object
  361. end
  362. 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),})
  363. ---------------------------
  364.  
  365. function rayCast(Position, Direction, Range, Ignore)
  366. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  367. end
  368.  
  369. function FindNearestTorso(Position, Distance, SinglePlayer)
  370. if SinglePlayer then
  371. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  372. end
  373. local List = {}
  374. for i, v in pairs(workspace:GetDescendants()) do
  375. if v:IsA("Model") then
  376. if v:findFirstChild("Head") then
  377. if v ~= chara then
  378. if (v.Head.Position - Position).magnitude <= Distance then
  379. table.insert(List, v)
  380. end
  381. end
  382. end
  383. end
  384. end
  385. return List
  386. end
  387.  
  388. EffectModel = Create("Model"){
  389. Parent = chara,
  390. Name = "Effects",
  391. }
  392.  
  393. --Effect Functions--
  394. Effects = {
  395.  
  396. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  397. local p = Instance.new("Part",EffectModel)
  398. p.BrickColor = BrickColor.new(colour)
  399. p.Size = partsize
  400. p.Anchored = true
  401. p.CanCollide = false
  402. p.Material = matr
  403. p.CFrame = cf
  404. if inverse == true then
  405. p.Transparency = 1
  406. else
  407. p.Transparency = 0
  408. end
  409. local m = Instance.new("BlockMesh",p)
  410. m.Scale = meshstart
  411. coroutine.wrap(function()
  412. for i=0,1,factor do
  413. swait()
  414. if inverse == true then
  415. p.Transparency = 1-i
  416. else
  417. p.Transparency = i
  418. end
  419. m.Scale = m.Scale + meshadd
  420. if spin == true then
  421. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  422. end
  423. end
  424. p:Destroy()
  425. end)()
  426. return p
  427. end,
  428.  
  429. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  430. local p = Instance.new("Part",EffectModel)
  431. p.BrickColor = BrickColor.new(colour)
  432. p.Size = partsize
  433. p.Anchored = true
  434. p.CanCollide = false
  435. p.Material = matr
  436. p.CFrame = cf
  437. if inverse == true then
  438. p.Transparency = 1
  439. else
  440. p.Transparency = 0
  441. end
  442. local m = Instance.new("SpecialMesh",p)
  443. m.MeshType = "Sphere"
  444. m.Scale = meshstart
  445. coroutine.wrap(function()
  446. for i=0,1,factor do
  447. swait()
  448. if inverse == true then
  449. p.Transparency = 1-i
  450. else
  451. p.Transparency = i
  452. end
  453. m.Scale = m.Scale + meshadd
  454. end
  455. p:Destroy()
  456. end)()
  457. return p
  458. end,
  459.  
  460. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  461. local p = Instance.new("Part",EffectModel)
  462. p.BrickColor = BrickColor.new(colour)
  463. p.Size = partsize
  464. p.Anchored = true
  465. p.CanCollide = false
  466. p.Material = matr
  467. p.CFrame = cf
  468. if inverse == true then
  469. p.Transparency = 1
  470. else
  471. p.Transparency = 0
  472. end
  473. local m = Instance.new("CylinderMesh",p)
  474. m.Scale = meshstart
  475. coroutine.wrap(function()
  476. for i=0,1,factor do
  477. swait()
  478. if inverse == true then
  479. p.Transparency = 1-i
  480. else
  481. p.Transparency = i
  482. end
  483. m.Scale = m.Scale + meshadd
  484. end
  485. p:Destroy()
  486. end)()
  487. return p
  488. end,
  489.  
  490. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  491. local p = Instance.new("Part",EffectModel)
  492. p.BrickColor = BrickColor.new(colour)
  493. p.Size = Vector3.new()
  494. p.Anchored = true
  495. p.CanCollide = false
  496. p.CFrame = cf
  497. if inverse == true then
  498. p.Transparency = 1
  499. else
  500. p.Transparency = 0
  501. end
  502. local m = Instance.new("SpecialMesh",p)
  503. m.MeshId = "rbxassetid://20329976"
  504. m.Scale = meshstart
  505. coroutine.wrap(function()
  506. for i=0,1,factor do
  507. swait()
  508. if inverse == true then
  509. p.Transparency = 1-i
  510. else
  511. p.Transparency = i
  512. end
  513. m.Scale = m.Scale + meshadd
  514. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  515. end
  516. p:Destroy()
  517. end)()
  518. return p
  519. end,
  520.  
  521. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  522. local p = Instance.new("Part",EffectModel)
  523. p.BrickColor = BrickColor.new(colour)
  524. p.Size = Vector3.new()
  525. p.Anchored = true
  526. p.CanCollide = false
  527. p.CFrame = cf
  528. if inverse == true then
  529. p.Transparency = 1
  530. else
  531. p.Transparency = 0
  532. end
  533. local m = Instance.new("SpecialMesh",p)
  534. m.MeshId = "rbxassetid://3270017"
  535. m.Scale = meshstart
  536. coroutine.wrap(function()
  537. for i=0,1,factor do
  538. swait()
  539. if inverse == true then
  540. p.Transparency = 1-i
  541. else
  542. p.Transparency = i
  543. end
  544. m.Scale = m.Scale + meshadd
  545. end
  546. p:Destroy()
  547. end)()
  548. return p
  549. end,
  550.  
  551. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  552. local p = Instance.new("Part",EffectModel)
  553. p.BrickColor = BrickColor.new(colour)
  554. p.Size = Vector3.new()
  555. p.Anchored = true
  556. p.CanCollide = false
  557. p.CFrame = cf
  558. if inverse == true then
  559. p.Transparency = 1
  560. else
  561. p.Transparency = 0
  562. end
  563. local m = Instance.new("SpecialMesh",p)
  564. m.MeshId = meshid
  565. m.TextureId = textid
  566. m.Scale = meshstart
  567. coroutine.wrap(function()
  568. for i=0,1,factor do
  569. swait()
  570. if inverse == true then
  571. p.Transparency = 1-i
  572. else
  573. p.Transparency = i
  574. end
  575. m.Scale = m.Scale + meshadd
  576. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  577. end
  578. p:Destroy()
  579. end)()
  580. return p
  581. end,
  582.  
  583. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  584. local p = Instance.new("Part",EffectModel)
  585. p.BrickColor = BrickColor.new(colour)
  586. p.Size = partsize
  587. p.Anchored = true
  588. p.CanCollide = false
  589. p.Material = matr
  590. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  591. if inverse == true then
  592. p.Transparency = 1
  593. else
  594. p.Transparency = 0
  595. end
  596. local m = Instance.new("SpecialMesh",p)
  597. m.MeshType = "Sphere"
  598. m.Scale = meshstart
  599. coroutine.wrap(function()
  600. for i=0,1,factor do
  601. swait()
  602. if inverse == true then
  603. p.Transparency = 1-i
  604. else
  605. p.Transparency = i
  606. end
  607. m.Scale = m.Scale + meshadd
  608. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  609. end
  610. p:Destroy()
  611. end)()
  612. return p
  613. end,
  614.  
  615. }
  616.  
  617. function chatfunc(text)
  618. coroutine.wrap(function()
  619. if chara:FindFirstChild("TalkingBillBoard")~= nil then
  620. chara:FindFirstChild("TalkingBillBoard"):destroy()
  621. end
  622. local naeeym2 = Instance.new("BillboardGui",chara)
  623. naeeym2.Size = UDim2.new(0,100,0,40)
  624. naeeym2.StudsOffset = Vector3.new(0,3,0)
  625. naeeym2.Adornee = chara.Head
  626. naeeym2.Name = "BLABLABLA"
  627. local tecks2 = Instance.new("TextLabel",naeeym2)
  628. tecks2.BackgroundTransparency = 1
  629. tecks2.BorderSizePixel = 0
  630. tecks2.Text = ""
  631. tecks2.Font = "Fantasy"
  632. tecks2.FontSize = "Size24"
  633. tecks2.TextStrokeTransparency = 0
  634. tecks2.TextColor3 = Color3.new(1,1,1)
  635. tecks2.TextStrokeColor3 = Color3.new(0,1,1)
  636. tecks2.Size = UDim2.new(1,0,0.5,0)
  637. for i = 1,string.len(text),1 do
  638. tecks2.Text = string.sub(text,1,i)
  639. swait()
  640. end
  641. swait(30)
  642. for i = 1, 5 do
  643. swait()
  644. tecks2.Position = tecks2.Position - UDim2.new(0,0,.05,0)
  645. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.2
  646. tecks2.TextTransparency = tecks2.TextTransparency + .2
  647. end
  648. naeeym2:Destroy()
  649. end)()
  650. end
  651.  
  652. function GetDudesTorso(c)
  653. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  654. if torsy ~= nil then
  655. return torsy
  656. end
  657. end
  658.  
  659. function BodyVel(part,faws)
  660. local bodyvel = Instance.new("BodyVelocity",part)
  661. local pep = 10000000
  662. bodyvel.P = pep
  663. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  664. bodyvel.Velocity = faws
  665. debby:AddItem(bodyvel,.2)
  666. end
  667.  
  668. function Dmg(guy)
  669. coroutine.wrap(function()
  670. local hum = guy:FindFirstChildOfClass("Humanoid")
  671. if hum and guy:FindFirstChild("HITO")==nil then
  672. Instance.new("BoolValue",guy).Name = "HITO"
  673. local torsy = GetDudesTorso(guy)
  674. if torsy then
  675. so(32656713,torsy,1,2)
  676. end
  677. local par = {}
  678. for i,v in pairs(guy:GetDescendants()) do
  679. if v:IsA("BasePart") then
  680. table.insert(par,v)
  681. if v.Name ~= "HumanoidRootPart" then
  682. v.Anchored = true
  683. end
  684. CreateSwirl(v)
  685. end
  686. end
  687. swait(20)
  688. if torsy then
  689. so(203936153,torsy,1,2)
  690. end
  691. for i,v in pairs(guy:GetDescendants()) do
  692. if v.Name == "SUWARU" then
  693. v.Enabled = false
  694. end
  695. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("ShirtGraphic") or v:IsA("Decal") and v.Name ~= "face" then
  696. v:Destroy()
  697. end
  698. for i,v in pairs(par) do
  699. if v then
  700. if v:FindFirstChild("SpecialMesh") then
  701. v:FindFirstChild("SpecialMesh").TextureId = ""
  702. end
  703. if v:IsA("MeshPart") then
  704. v.TextureID = ""
  705. end
  706. v.BrickColor = BrickColor.new("Baby blue")
  707. v.Material = "Ice"
  708. end
  709. end
  710. end
  711. swait(40)
  712. if torsy then
  713. so(87015121,torsy,1,2)
  714. end
  715. guy:BreakJoints()
  716. for ba=1,6 do
  717. 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)
  718. end
  719. for ab = 1,math.random(6,10) do
  720. local sa = math.random(5,9)/10
  721. local ice = Instance.new("Part",EffectModel)
  722. ice.CFrame = torsy.CFrame
  723. ice.BrickColor = BrickColor.new("Baby blue")
  724. ice.Material = "Ice"
  725. ice.Size = Vector3.new(sa,sa,sa)
  726. ice.Velocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  727. ice.RotVelocity = Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  728. coroutine.wrap(function()
  729. swait(120)
  730. ice.Orientation = Vector3.new(0,ice.Orientation.y,0)
  731. for b = 0,1,.05 do
  732. swait()
  733. ice.Transparency = b
  734. ice.Size = ice.Size + Vector3.new(.05,-.05,.05)
  735. end
  736. ice:Destroy()
  737. end)()
  738. end
  739. for i,v in pairs(par) do
  740. v:Destroy()
  741. end
  742. end
  743. end)()
  744. end
  745.  
  746. function MagnitudeDmg(par,magni)
  747. for _, c in pairs(workspace:GetDescendants()) do
  748. local hum = c:FindFirstChildOfClass("Humanoid")
  749. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  750. local head = GetDudesTorso(c)
  751. if head ~= nil then
  752. local targ = head.Position - par.Position
  753. local mag = targ.magnitude
  754. if magni >= mag and c ~= chara then
  755. Dmg(c)
  756. end
  757. end
  758. end
  759. end
  760. end
  761.  
  762. combo = 1
  763.  
  764. local mus = Instance.new("Sound",chara)
  765. mus.Name = "mus"
  766. mus.SoundId = "rbxassetid://189224548"
  767. mus.Looped = true
  768. mus.Volume = 1
  769. mus:Play()
  770.  
  771. coroutine.wrap(function()
  772. Humanoid.Name = "asldlasldlasdl"
  773. Humanoid.Health = math.huge
  774. Humanoid.MaxHealth = math.huge
  775. end)()
  776.  
  777. --Intro--
  778. Humanoid.WalkSpeed = 0
  779. for i,v in pairs(wep:children()) do
  780. if v~=handla then
  781. v.Transparency = 1
  782. end
  783. end
  784. swait(20)
  785. chatfunc("Justice is a dish best served cold!")
  786. for i=0,1,.1 do
  787. swait()
  788. PlayAnimationFromTable({
  789. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  790. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  791. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  792. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  793. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  794. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  795. }, .3, false)
  796. end
  797. local para = {}
  798. for i=-2,2,.2 do
  799. local ice = Instance.new("Part",EffectModel)
  800. ice.Size = Vector3.new(1,1,1)
  801. ice.CanCollide = false
  802. ice.BrickColor = BrickColor.new("Baby blue")
  803. ice.Material = "Ice"
  804. local icew = Instance.new("Weld",ice)
  805. icew.Part0 = hito
  806. icew.Part1 = ice
  807. icew.C0 = CFrame.new(0,-i,0)*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  808. table.insert(para,ice)
  809. so(32656754,ice,1,1)
  810. swait()
  811. end
  812. swait(30)
  813. so(87015121,hito,1,1)
  814. for i,v in pairs(wep:children()) do
  815. v.Transparency = 0
  816. end
  817. for i,v in pairs(para) do
  818. v:BreakJoints()
  819. v.Anchored = true
  820. coroutine.wrap(function()
  821. for i=0,1,.05 do
  822. swait()
  823. v.CFrame = v.CFrame*CFrame.new(0,.5,0)
  824. v.Transparency = i
  825. end
  826. v:Destroy()
  827. end)()
  828. end
  829. swait(60)
  830. chatfunc([["Ice" to meet you today!]])
  831. Humanoid.WalkSpeed = 40
  832. --------------------------------------------------
  833.  
  834. function smek()
  835. attack = true
  836. for i=0,1,.2 do
  837. swait()
  838. PlayAnimationFromTable({
  839. CFrame.new(-0.0116844922, 0, -0.381816059, 0.342019022, 0, 0.939693093, 0, 1, 0, -0.939693093, 0, 0.342018992),
  840. CFrame.new(-0.0728889629, 1.49999714, 0.038963601, 0.342019022, 0, -0.939693093, 0, 1, 0, 0.939693093, 0, 0.342018992),
  841. 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),
  842. 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),
  843. 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),
  844. CFrame.new(-0.499999702, -2.00000095, 8.68737698e-06, 0.766045451, 0, 0.642786503, 0, 1, 0, -0.642786503, 0, 0.766045511),
  845. }, .4, false)
  846. end
  847. Humanoid.WalkSpeed = 2
  848. tr1.Enabled = true
  849. so(32656754,hito,math.random(9,11)/10,1)
  850. for i=0,1,.2 do
  851. swait()
  852. PlayAnimationFromTable({
  853. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  854. CFrame.new(0, 1.49999714, 0, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  855. 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),
  856. 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),
  857. CFrame.new(0.500001073, -2.00000095, -1.57952309e-06, 0.939692616, 0, -0.342020184, 0, 1, 0, 0.342020184, 0, 0.939692616),
  858. CFrame.new(-0.499998212, -2.00000095, 1.49011612e-06, 0.766043544, 0, 0.642788708, 0, 1, 0, -0.642788708, 0, 0.766043544),
  859. }, .4, false)
  860. MagnitudeDmg(hito,3)
  861. end
  862. swait(5)
  863. Humanoid.WalkSpeed = 40
  864. tr1.Enabled = false
  865. attack = false
  866. end
  867.  
  868. function asmek()
  869. attack = true
  870. Humanoid.WalkSpeed = 50
  871. RootPart.Velocity = Vector3.new(RootPart.Velocity.X,30,RootPart.Velocity.Z)
  872. tr1.Enabled = true
  873. so(32656754,hito,math.random(9,11)/10,1)
  874. for i = 0,1.5,.1 do
  875. swait()
  876. PlayAnimationFromTable({
  877. 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),
  878. CFrame.new(0, 1.50000107, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  879. CFrame.new(1.4999969, 1.00000238, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  880. CFrame.new(-1.49999905, 1.00000238, 0, 0, 1, 0, -1, 0, 0, 0, 0, 1),
  881. CFrame.new(0.499999046, -1.99999499, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  882. CFrame.new(-0.500001907, -1.99999404, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  883. }, .3, false)
  884. MagnitudeDmg(hito,3)
  885. end
  886. Humanoid.WalkSpeed = 40
  887. tr1.Enabled = false
  888. attack = false
  889. end
  890.  
  891. function burasuto()
  892. attack = true
  893. Humanoid.WalkSpeed = 5
  894. for i=0,2,.1 do
  895. swait()
  896. PlayAnimationFromTable({
  897. CFrame.new(0.0358428955, 0, 0.0325927734, 0, 0, 1, 0, 1, 0, -1, 0, 0),
  898. 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),
  899. CFrame.new(1.5, 0.899998665, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  900. 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),
  901. CFrame.new(0.5, -1.8499999, 0.459799707, 1, 0, 0, 0, 0.866025388, 0.500000238, 0, -0.500000238, 0.866025388),
  902. CFrame.new(-0.5, -1.57705688, -0.280751318, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  903. }, .4, false)
  904. 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)
  905. 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)
  906. end
  907. so(588736245,RightArm,.8,1)
  908. local dir = (RightArm.Position - Mouse.Hit.p).unit
  909. local blast = Instance.new("Part",EffectModel)
  910. blast.Name = "Burasuto"
  911. blast.BrickColor = BrickColor.new("Baby blue")
  912. blast.Size = Vector3.new(3,3,3)
  913. blast.Anchored = true
  914. blast.CanCollide = false
  915. blast.Material = "Neon"
  916. blast.Shape = "Ball"
  917. blast.CFrame = CFrame.new(RightArm.Position,RightArm.Position+dir)
  918. local pe = CreateSwirl(blast)
  919. pe.Size = NumberSequence.new(2,0)
  920. debby:AddItem(blast,10)
  921. coroutine.wrap(function()
  922. local par,pos
  923. local ta = 0
  924. repeat
  925. swait()
  926. par,pos = rayCast(blast.Position,blast.CFrame.lookVector*2,5,chara)
  927. if par ~= nil then
  928. blast.CFrame = CFrame.new(pos)
  929. else
  930. blast.CFrame = blast.CFrame * CFrame.new(0,0,4)
  931. end
  932. until par ~= nil
  933. for b=1,2 do
  934. Effects.Block(blast.CFrame,Vector3.new(1,1,1),Vector3.new(),Vector3.new(1,1,1),"Ice","White",true,false,.1)
  935. end
  936. so(747238556,blast,1,1)
  937. MagnitudeDmg(blast,5)
  938. blast.Transparency = 1
  939. debby:AddItem(blast,3)
  940. end)()
  941. Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(.2,0,.2),"White",10,false,.05)
  942. Effects.Wave(RightArm.CFrame*CFrame.new(0,-1,0),Vector3.new(0,0,0),Vector3.new(1,0,1),"Baby blue",-10,false,.05)
  943. BodyVel(Torso,RootPart.CFrame.lookVector*-5)
  944. swait(20)
  945. Humanoid.WalkSpeed = 40
  946. attack = false
  947. end
  948.  
  949. function freeze()
  950. attack = true
  951. Humanoid.WalkSpeed = 4
  952. chatfunc("That's it!")
  953. coroutine.wrap(function()
  954. for a=0,1,.1 do
  955. swait()
  956. for i,v in pairs(wep:children()) do
  957. v.Transparency = i
  958. end
  959. end
  960. end)()
  961. for i = 0,1,.1 do
  962. swait()
  963. PlayAnimationFromTable({
  964. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  965. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  966. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  967. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  968. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  969. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  970. }, .3, false)
  971. end
  972. for i = 0,4,.05 do
  973. swait()
  974. PlayAnimationFromTable({
  975. CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  976. CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  977. CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0),
  978. CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  979. 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),
  980. 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),
  981. }, .3, false)
  982. 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)
  983. 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)
  984. end
  985. swait(20)
  986. for i = 0,1,.1 do
  987. swait()
  988. PlayAnimationFromTable({
  989. CFrame.new(0, -0.433955967, -0.642794847, 1, 0, 0, 0, 0.76604414, 0.642788053, 0, -0.642788053, 0.76604414),
  990. CFrame.new(0, 1.50857329, 0.277411759, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  991. CFrame.new(1.00000763, 1.37034774, -0.491282165, 0, 0, 1, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414, 0),
  992. CFrame.new(-1.00000763, 1.37034774, -0.491282165, 0, 0, -1, -0.76604414, -0.642788053, 0, -0.642788053, 0.76604414, 0),
  993. CFrame.new(0.5, -1.09861195, -1.12705588, 1, 0, 0, 0, 0.76604414, -0.642788053, 0, 0.642788053, 0.76604414),
  994. CFrame.new(-0.5, -2.00000405, 5.72204681e-06, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  995. }, .3, false)
  996. end
  997. local pemit1 = CreateSwirl(RightArm)
  998. pemit1.SpreadAngle = Vector2.new(20,20)
  999. pemit1.EmissionDirection = "Bottom"
  1000. pemit1.Lifetime = NumberRange.new(.7)
  1001. pemit1.Speed = NumberRange.new(20)
  1002. pemit1.Size = NumberSequence.new(0,5)
  1003. local pemit2 = pemit1:Clone()
  1004. pemit2.Parent = LeftArm
  1005. local pa = Instance.new("Part",chara)
  1006. pa.Size = Vector3.new(0,0,0)
  1007. pa.CanCollide = false
  1008. pa.Anchored = true
  1009. pa.Transparency = 1
  1010. so(87014838,Torso,1,1)
  1011. chatfunc("Freeze... to... death...")
  1012. for i=1,200 do
  1013. pa.CFrame = RootPart.CFrame * CFrame.new(0,0,-7)
  1014. MagnitudeDmg(pa,8)
  1015. swait()
  1016. end
  1017. pemit1.Enabled = false
  1018. pemit2.Enabled = false
  1019. pa:Destroy()
  1020. debby:AddItem(pemit1,4)
  1021. debby:AddItem(pemit2,4)
  1022. swait(30)
  1023. coroutine.wrap(function()
  1024. for a=0,1,.1 do
  1025. swait()
  1026. for i,v in pairs(wep:children()) do
  1027. v.Transparency = 1-i
  1028. end
  1029. end
  1030. for i,v in pairs(wep:children()) do
  1031. v.Transparency = 0
  1032. end
  1033. end)()
  1034. Humanoid.WalkSpeed = 40
  1035. tr1.Enabled = false
  1036. attack = false
  1037. end
  1038.  
  1039. function areafreeze()
  1040. attack = true
  1041. Humanoid.WalkSpeed = 0
  1042. chatfunc("The winter is coming..")
  1043. coroutine.wrap(function()
  1044. for a=0,1,.1 do
  1045. swait()
  1046. for i,v in pairs(wep:children()) do
  1047. v.Transparency = i
  1048. end
  1049. end
  1050. end)()
  1051. for i = 0,1,.1 do
  1052. swait()
  1053. PlayAnimationFromTable({
  1054. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  1055. CFrame.new(0, 1.5255599, -0.222141743, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1056. CFrame.new(1.50094986, 0.999999046, 0.0500035286, 0, -1, 0, 1, 0, 0, 0, 0, 1),
  1057. CFrame.new(-1.52556324, 0.222139359, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  1058. CFrame.new(0.500001132, -2, -2.38418579e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  1059. CFrame.new(-0.500000715, -2, -8.34465027e-07, 0.939692736, 0, 0.342019886, 0, 1, 0, -0.342019916, 0, 0.939692736),
  1060. }, .3, false)
  1061. end
  1062. for i = 0,4,.05 do
  1063. swait()
  1064. PlayAnimationFromTable({
  1065. CFrame.new(),
  1066. CFrame.new(0, 1.46578932, -0.0939713717, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1067. CFrame.new(0.748245835, 0.499998569, -0.773616076, 0.342019022, 0.939693093, 0, 0, 0, -1, -0.939693093, 0.342018992, 0),
  1068. 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),
  1069. CFrame.new(0.499996185, -1.28161228, -0.232838884, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1070. CFrame.new(-0.5, -1.99999928, 0.299997658, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1071. }, .3, false)
  1072. 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)
  1073. 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)
  1074. end
  1075. swait(20)
  1076. chatfunc("COME, BLIZZARD O' DEATH!")
  1077. for i = 0,2,.1 do
  1078. swait()
  1079. PlayAnimationFromTable({
  1080. CFrame.new(0, 0.0349424481, 0.334686339, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1081. CFrame.new(0, 1.43158746, 0.18793866, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  1082. CFrame.new(1.5, 0.499999046, 0.599990845, 0, -1, 0, 0, 0, -1, 1, 0, 0),
  1083. CFrame.new(-1.5, 0.499999046, 0.599990845, 0, 1, 0, 0, 0, -1, -1, 0, 0),
  1084. 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),
  1085. 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),
  1086. }, .3, false)
  1087. end
  1088. so(632669170,Torso,1,1)
  1089. MagnitudeDmg(RootPart,20)
  1090. for i=1,2 do
  1091. Effects.Block(Torso.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(3,3,3),"Ice","White",true,false,.05)
  1092. 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)
  1093. end
  1094. Effects.Wave(Torso.CFrame*CFrame.new(0,-2,0),Vector3.new(0,1,0),Vector3.new(5,0,5),"White",10,false,.05)
  1095. swait(30)
  1096. coroutine.wrap(function()
  1097. for a=0,1,.1 do
  1098. swait()
  1099. for i,v in pairs(wep:children()) do
  1100. v.Transparency = 1-i
  1101. end
  1102. end
  1103. for i,v in pairs(wep:children()) do
  1104. v.Transparency = 0
  1105. end
  1106. end)()
  1107. Humanoid.WalkSpeed = 40
  1108. tr1.Enabled = false
  1109. attack = false
  1110. end
  1111.  
  1112. Mouse.Button1Down:connect(function()
  1113. if attack == false then
  1114. if Anim == "Jump" or Anim == "Fall" then
  1115. asmek()
  1116. else
  1117. smek()
  1118. end
  1119. end
  1120. end)
  1121.  
  1122. local sprintt = 0
  1123. Mouse.KeyDown:connect(function(k)
  1124. k = k:lower()
  1125. if k=='m' then
  1126. if mus.IsPlaying == true then
  1127. mus:Stop()
  1128. elseif mus.IsPaused == true then
  1129. mus:Play()
  1130. end
  1131. end
  1132. if attack == false then
  1133. if k == 'z' then
  1134. burasuto()
  1135. elseif k == 'x' then
  1136. freeze()
  1137. elseif k == 'c' then
  1138. areafreeze()
  1139. end
  1140. end
  1141. end)
  1142.  
  1143. --Mouse.KeyUp:connect(function(k)
  1144. --k = k:lower()
  1145. --if k == 'e' then
  1146. --ehold = false
  1147. --elseif k == 'z' then
  1148. --zhold = false
  1149. --elseif k == 'v' then
  1150. --vhold = false
  1151. --elseif k == 'g' then
  1152. --ghold = false
  1153. --end
  1154. --end)
  1155.  
  1156. coroutine.wrap(function()
  1157. while 1 do
  1158. swait()
  1159. if doe <= 360 then
  1160. doe = doe + 2
  1161. else
  1162. doe = 0
  1163. end
  1164. end
  1165. end)()
  1166. while true do
  1167. swait()
  1168. while true do
  1169. swait()
  1170. if chara:FindFirstChild("mus")==nil then
  1171. mus = Instance.new("Sound",chara)
  1172. mus.Name = "mus"
  1173. mus.SoundId = "rbxassetid://189224548"
  1174. mus.Looped = true
  1175. mus.Volume = 1
  1176. mus:Play()
  1177. end
  1178. if sprintt >= 1 then
  1179. sprintt = sprintt - 1
  1180. end
  1181. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1182. velocity = RootPart.Velocity.y
  1183. sine = sine + change
  1184. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, chara)
  1185. if RootPart.Velocity.y > 1 and hit == nil then
  1186. Anim = "Jump"
  1187. if attack == false then
  1188. PlayAnimationFromTable({
  1189. CFrame.new(0, 0.0382082276, -0.0403150208, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849),
  1190. CFrame.new(0, 1.46579528, 0.0939689279, 1, 0, 0, 0, 0.939692855, -0.342019796, 0, 0.342019796, 0.939692855),
  1191. 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),
  1192. 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),
  1193. CFrame.new(0.5, -1.99739456, -0.0180913229, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1194. CFrame.new(-0.5, -1.30000103, -0.39999947, 1, 0, 0, 0, 0.939692676, 0.342020601, 0, -0.342020601, 0.939692676),
  1195. }, .3, false)
  1196. end
  1197. elseif RootPart.Velocity.y < -1 and hit == nil then
  1198. Anim = "Fall"
  1199. if attack == false then
  1200. PlayAnimationFromTable({
  1201. CFrame.new(0, -0.0646628663, 0.0399149321, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1202. CFrame.new(0, 1.4913609, -0.128171027, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1203. 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),
  1204. 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),
  1205. CFrame.new(0.500000954, -1.9973948, -0.0180922765, 1, 0, 0, 0, 1.00000012, 0, 0, 0, 1.00000012),
  1206. CFrame.new(-0.499999046, -1.30000043, -0.400000483, 1, 0, 0, 0, 0.939692855, 0.342019796, 0, -0.342019796, 0.939692855),
  1207. }, .3, false)
  1208. end
  1209. elseif Torsovelocity < 1 and hit ~= nil then
  1210. Anim = "Idle"
  1211. if attack == false then
  1212. change = 1
  1213. PlayAnimationFromTable({
  1214. 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),
  1215. 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),
  1216. CFrame.new(1.4999994, 0, 7.15255737e-07, 0.984807849, 0, -0.173648164, 0, 1, 0, 0.173648134, 0, 0.984807849),
  1217. 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),
  1218. 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),
  1219. 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),
  1220. }, .3, false)
  1221. end
  1222. elseif Torsovelocity > 2 and hit ~= nil then
  1223. Anim = "Walk"
  1224. if attack == false then
  1225. Humanoid.WalkSpeed = 40
  1226. Humanoid.JumpPower = 70
  1227. PlayAnimationFromTable({
  1228. 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),
  1229. CFrame.new(0, 1.41422474, 0.0894482136, 1, 0, 0, 0, 0.939692736, -0.342019916, 0, 0.342019886, 0.939692736),
  1230. CFrame.new(1.39999986, 4.76837158e-07, 0.173205554, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388),
  1231. 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),
  1232. 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),
  1233. 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),
  1234. }, .3, false)
  1235. end
  1236. end
  1237. end
  1238. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement