Advertisement
DogeLiker

ice ice baby.. (sound edit boie.)

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