Awooslayer699

Untitled

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