Advertisement
Okkkkk

meh icecream yummy

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