Advertisement
VoidScriptPlayer

Untitled

May 20th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --void Script bbuilder fe script converter V2
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7.  
  8. local Player = game.Players.LocalPlayer
  9. local Character = Player.Character
  10. local Humanoid = Character.Humanoid
  11. local LeftArm = Character["Left Arm"]
  12. local RightArm = Character["Right Arm"]
  13. local LeftLeg = Character["Left Leg"]
  14. local RightLeg = Character["Right Leg"]
  15. local Head = Character.Head
  16. local Torso = Character.Torso
  17. local Camera = game.Workspace.CurrentCamera
  18. local RootPart = Character.HumanoidRootPart
  19. local RootJoint = RootPart.RootJoint
  20. local attack = false
  21. local Pause = false
  22. local LOL = false
  23. local DD = false
  24. local Anim = 'Idle'
  25. local attacktype = 1
  26. local delays = false
  27. local play = true
  28. local targetted = nil
  29. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  30. local velocity = RootPart.Velocity.y
  31. local sine = 0
  32. local change = 1
  33. local doe = 0
  34. local Create = LoadLibrary("RbxUtility").Create
  35. Humanoid.WalkSpeed = 25
  36.  
  37. Humanoid.Animator.Parent = nil
  38. Character.Animate.Parent = nil
  39.  
  40. local newMotor = function(part0, part1, c0, c1)
  41. local w = Create('Motor'){
  42. Parent = part0,
  43. Part0 = part0,
  44. Part1 = part1,
  45. C0 = c0,
  46. C1 = c1,
  47. }
  48. return w
  49. end
  50. function clerp(a, b, t)
  51. return a:lerp(b, t)
  52. end
  53.  
  54. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  55. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  56.  
  57. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  58. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  59. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  60. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  61. RootJoint.C1 = CFrame.new(0, 0, 0)
  62. RootJoint.C0 = CFrame.new(0, 0, 0)
  63. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  64. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  65.  
  66. local rarmc1 = RW.C1
  67. local larmc1 = LW.C1
  68. local rlegc1 = RH.C1
  69. local llegc1 = LH.C1
  70.  
  71. local resetc1 = false
  72.  
  73. function PlayAnimationFromTable(table, speed, bool)
  74. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  75. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  76. RW.C0 = clerp(RW.C0, table[3], speed)
  77. LW.C0 = clerp(LW.C0, table[4], speed)
  78. RH.C0 = clerp(RH.C0, table[5], speed)
  79. LH.C0 = clerp(LH.C0, table[6], speed)
  80. if bool == true then
  81. if resetc1 == false then
  82. resetc1 = true
  83. RootJoint.C1 = RootJoint.C1
  84. Torso.Neck.C1 = Torso.Neck.C1
  85. RW.C1 = rarmc1
  86. LW.C1 = larmc1
  87. RH.C1 = rlegc1
  88. LH.C1 = llegc1
  89. end
  90. end
  91. end
  92.  
  93. ArtificialHB = Create("BindableEvent", script){
  94. Parent = script,
  95. Name = "Heartbeat",
  96. }
  97.  
  98. script:WaitForChild("Heartbeat")
  99.  
  100. frame = 1 / 30
  101. tf = 0
  102. allowframeloss = false
  103. tossremainder = false
  104. lastframe = tick()
  105.  
  106. game:GetService("RunService").Heartbeat:connect(function(s, p)
  107. tf = tf + s
  108. if tf >= frame then
  109. if allowframeloss then
  110. script.Heartbeat:Fire()
  111. lastframe = tick()
  112. else
  113. for i = 1, math.floor(tf / frame) do
  114. script.Heartbeat:Fire()
  115. end
  116. lastframe = tick()
  117. end
  118. if tossremainder then
  119. tf = 0
  120. else
  121. tf = tf - frame * math.floor(tf / frame)
  122. end
  123. end
  124. end)
  125.  
  126. function swait(num)
  127. if num == 0 or num == nil then
  128. ArtificialHB.Event:wait()
  129. else
  130. for i = 0, num do
  131. ArtificialHB.Event:wait()
  132. end
  133. end
  134. end
  135.  
  136.  
  137. local DI = Instance.new("Part",Character)
  138. DI.Size = Vector3.new(1,1,1)
  139. DI.CanCollide = false
  140. DI.TopSurface = 0
  141. DI.BottomSurface = 0
  142. DI.BrickColor = Torso.BrickColor
  143. local DI2 = Instance.new("SpecialMesh",DI)
  144. DI2.MeshType = "Cylinder"
  145. DI2.Scale = Vector3.new(3.5,1,1)
  146. local DI3 = Instance.new("Weld",DI)
  147. DI3.Part0 = Torso
  148. DI3.Part1 = DI
  149. DI3.C0 = CFrame.new(0,-0.2,-2)*CFrame.Angles(0,1.55,0.5)
  150. local BALL = Instance.new("Part",Character)
  151. BALL.Size = Vector3.new(1,1,1)
  152. BALL.BrickColor = Torso.BrickColor
  153. BALL.TopSurface = 0
  154. BALL.BottomSurface = 0
  155. BALL.CanCollide = false
  156. local BALL2 = Instance.new("SpecialMesh",BALL)
  157. BALL2.MeshType = "Sphere"
  158. BALL2.Scale = Vector3.new(1.3,1.3,1.3)
  159. local WW = Instance.new("Weld",BALL)
  160. WW.Part0 = Torso
  161. WW.Part1 = BALL
  162. WW.C0 = CFrame.new(0.5,-1.4,-0.7)
  163. local BALL23 = Instance.new("Part",Character)
  164. BALL23.Size = Vector3.new(1,1,1)
  165. BALL23.BrickColor = Torso.BrickColor
  166. BALL23.TopSurface = 0
  167. BALL23.BottomSurface = 0
  168. BALL23.CanCollide = false
  169. local BALL22 = Instance.new("SpecialMesh",BALL23)
  170. BALL22.MeshType = "Sphere"
  171. BALL22.Scale = Vector3.new(1.3,1.3,1.3)
  172. local WW2 = Instance.new("Weld",BALL23)
  173. WW2.Part0 = Torso
  174. WW2.Part1 = BALL23
  175. WW2.C0 = CFrame.new(-0.5,-1.4,-0.7)
  176. local Tip = Instance.new("Part",Character)
  177. Tip.Size = Vector3.new(1,1,1)
  178. Tip.BrickColor = BrickColor.new("Pink")
  179. Tip.TopSurface = 0
  180. Tip.BottomSurface = 0
  181. Tip.CanCollide = false
  182. Tip.Name = "top"
  183.  
  184.  
  185. local BALL233 = Instance.new("SpecialMesh",Tip)
  186. BALL233.MeshType = "Sphere"
  187. BALL233.Scale = Vector3.new(1.2,1.2,1.2)
  188. local WW33 = Instance.new("Weld",Tip)
  189. WW33.Part0 = DI
  190. WW33.Part1 = Tip
  191. WW33.C0 = CFrame.new(1.7,0,0)
  192.  
  193.  
  194.  
  195. local Lampo = Instance.new("Part", game.Workspace.Gustavo_Porto.top)
  196. Lampo.Size = Vector3.new(0.3,0.3,0.3)
  197. Lampo.CanCollide = false
  198. Lampo.Transparency = 0
  199. local meshlampo = Instance.new("SpecialMesh", Lampo)
  200. meshlampo.MeshId = "http://www.roblox.com/asset/?id=1028713"
  201. meshlampo.TextureId = "http://www.roblox.com/asset/?id=493309692"
  202. meshlampo.Scale = Vector3.new(0.5,0.5,0.5)
  203. local weldsensor = Instance.new("Weld", Lampo)
  204. weldsensor.Part0 = game.Workspace.Gustavo_Porto.top
  205. weldsensor.Part1 = Lampo
  206. weldsensor.C0 = weldsensor.C0 * CFrame.new(0,0.65,-0.15) * CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0))
  207.  
  208. New = function(Object, Parent, Name, Data)
  209. local Object = Instance.new(Object)
  210. for Index, Value in pairs(Data or {}) do
  211. Object[Index] = Value
  212. end
  213. Object.Parent = Parent
  214. Object.Name = Name
  215. return Object
  216. end
  217. function rayCast(Position, Direction, Range, Ignore)
  218. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  219. end
  220.  
  221. function Hit()
  222. if not D then D = true
  223. Pause = true
  224. attack = false
  225. local Grab = Instance.new("Part",RightArm)
  226. Grab.Size = Vector3.new(2.3,2.3,2.3)
  227. Grab.CanCollide = false
  228. Grab.BrickColor = BrickColor.new("Really black")
  229. Grab.Transparency = math.huge
  230. local Grabo = Instance.new("Weld",Grab)
  231. Grabo.Part0 = DI
  232. Grabo.Part1 = Grab
  233. Grabo.C0 = CFrame.new(1,0,0)
  234. local SFXZ = Instance.new("Sound",Torso)
  235. SFXZ.SoundId = "rbxassetid://169259383"
  236. SFXZ.Volume = 1
  237. SFXZ.Pitch = 0.8
  238. SFXZ.Looped = false
  239. wait(0.01)
  240. SFXZ:Play()
  241. Grab.Touched:connect(function(hit)
  242. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  243. Grab:remove()
  244. hit.Parent.Humanoid:TakeDamage(13)
  245. local SFXZ = Instance.new("Sound",Torso)
  246. SFXZ.SoundId = "rbxassetid://743886825"
  247. SFXZ.Volume = 1
  248. SFXZ.Pitch = 0.8
  249. SFXZ.Looped = false
  250. wait(0.01)
  251. SFXZ:Play()
  252. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  253. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  254. Fl.velocity = Torso.CFrame.lookVector*33
  255. wait(0.05)
  256. Fl:remove()
  257. end
  258. end)
  259. for i = 0,1.2,0.1 do
  260. swait()
  261. PlayAnimationFromTable({
  262. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.5, 0),
  263. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  264. CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
  265. CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
  266. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  267. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  268. }, .5, false)
  269. DI3.C0 = clerp(DI3.C0,CFrame.new(-1,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,0.5,0)*CFrame.Angles(0,1.55,0.5),.3)
  270. end
  271. Grab:remove()
  272. Pause = false
  273. wait(0.1)
  274. D = false
  275. end
  276. end
  277. function Hit2()
  278. if not D then D = true
  279. Pause = true
  280. attack = false
  281. local Grab = Instance.new("Part",RightArm)
  282. Grab.Size = Vector3.new(2.3,2.3,2.3)
  283. Grab.CanCollide = false
  284. Grab.BrickColor = BrickColor.new("Really black")
  285. Grab.Transparency = math.huge
  286. local Grabo = Instance.new("Weld",Grab)
  287. Grabo.Part0 = DI
  288. Grabo.Part1 = Grab
  289. Grabo.C0 = CFrame.new(1,0,0)
  290. local SFXZ = Instance.new("Sound",Torso)
  291. SFXZ.SoundId = "rbxassetid://"
  292. SFXZ.Volume = 1
  293. SFXZ.Pitch = 0.8
  294. SFXZ.Looped = false
  295. wait(0.01)
  296. SFXZ:Play()
  297. Grab.Touched:connect(function(hit)
  298. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  299. Grab:remove()
  300. hit.Parent.Humanoid:TakeDamage(100)
  301. local SFXZ = Instance.new("Sound",Torso)
  302. SFXZ.SoundId = "rbxassetid://743886825"
  303. SFXZ.Volume = 1
  304. SFXZ.Pitch = 0.8
  305. SFXZ.Looped = false
  306. wait(0.01)
  307. SFXZ:Play()
  308. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  309. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  310. Fl.velocity = Torso.CFrame.lookVector*33
  311. wait(0.05)
  312. Fl:remove()
  313. end
  314. end)
  315. for i = 0,1.2,0.1 do
  316. swait()
  317. PlayAnimationFromTable({
  318. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.5, 0),
  319. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  320. CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
  321. CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
  322. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  323. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  324. }, .5, false)
  325. DI3.C0 = clerp(DI3.C0,CFrame.new(1,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,-0.5,0)*CFrame.Angles(0,1.55,0.5),.3)
  326. end
  327. Grab:remove()
  328. Pause = false
  329. wait(0.1)
  330. D = false
  331. end
  332. end
  333.  
  334. function JOFF()
  335. if not DD then DD = true
  336. Pause = true
  337. for i = 0,1.2,0.1 do
  338. swait()
  339. PlayAnimationFromTable({
  340. CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  341. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.5, 0, 0),
  342. CFrame.new(0.9,0,-1) * CFrame.new(0,0,0)*CFrame.Angles(0.5,1,0),
  343. CFrame.new(-0.7,0,0.4) * CFrame.new(0,0,0)*CFrame.Angles(0,0,1),
  344. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  345. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  346. }, .3, false)
  347. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  348. end
  349. game:GetService("Chat"):Chat(Head, "I cant hold it...")
  350. wait(0.5)
  351. local SFXZ = Instance.new("Sound",Torso)
  352. SFXZ.SoundId = "rbxassetid://517040733"
  353. SFXZ.Volume = math.huge
  354. SFXZ.Pitch = 1
  355. SFXZ.Looped = false
  356. wait(0.01)
  357. SFXZ:Play()
  358. local partasdeff = Instance.new("ParticleEmitter",Tip)
  359. partasdeff.Color = ColorSequence.new(Color3.new(244,244,244))
  360. partasdeff.LightEmission = .1
  361. partasdeff.Size = NumberSequence.new(0.2)
  362. partasdeff.Texture = "http://www.roblox.com/asset/?ID=833874434"
  363. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  364. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  365. partasdeff.Transparency = bbb
  366. partasdeff.Size = aaa
  367. partasdeff.ZOffset = .9
  368. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  369. partasdeff.LockedToPart = false
  370. partasdeff.EmissionDirection = "Right"
  371. partasdeff.Lifetime = NumberRange.new(1, 2)
  372. partasdeff.Rate = 1000
  373. partasdeff.Rotation = NumberRange.new(-100, 100)
  374. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  375. partasdeff.Speed = NumberRange.new(10)
  376. partasdeff.VelocitySpread = 20
  377. partasdeff.Enabled=true
  378. local PP = Instance.new("Part",Character)
  379. PP.Size = Vector3.new(9,1,1)
  380. PP.CanCollide = false
  381. PP.Transparency = math.huge
  382. local PP2 = Instance.new("Weld",PP)
  383. PP2.Part0 = DI
  384. PP2.Part1 = PP
  385. PP2.C0 = CFrame.new(2.5,0.5,0)*CFrame.Angles(0,0,-0.5)
  386. PP.Touched:connect(function(hit)
  387. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  388. PP:remove()
  389. local p2mit = Instance.new("ParticleEmitter",hit.Parent.Torso)
  390. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  391. p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
  392. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
  393. p2mit.Lifetime = NumberRange.new(1)
  394. p2mit.Rate = 33
  395. p2mit.VelocitySpread = 0
  396. p2mit.Acceleration = Vector3.new(0,-50,0)
  397. local p2mit = Instance.new("ParticleEmitter",hit.Parent["Right Arm"])
  398. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  399. p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
  400. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
  401. p2mit.Lifetime = NumberRange.new(1)
  402. p2mit.Rate = 33
  403. p2mit.VelocitySpread = 0
  404. p2mit.Acceleration = Vector3.new(0,-50,0)
  405. local p2mit = Instance.new("ParticleEmitter",hit.Parent["Left Arm"])
  406. p2mit.Texture = "http://www.roblox.com/asset/?id=243132757"
  407. p2mit.Color = ColorSequence.new(Color3.new(244,244,244))
  408. p2mit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,.2),NumberSequenceKeypoint.new(1,.2)})
  409. p2mit.Lifetime = NumberRange.new(1)
  410. p2mit.Rate = 33
  411. p2mit.VelocitySpread = 0
  412. p2mit.Acceleration = Vector3.new(0,-50,0)
  413. end
  414. end)
  415. wait(1)
  416. partasdeff.Enabled=false
  417. PP:remove()
  418. wait(1)
  419. Pause = false
  420. wait(5)
  421. DD = false
  422. end
  423. end
  424. function Slime()
  425. if not DD then DD = true
  426. Pause = true
  427. for i = 0,1.2,0.1 do
  428. swait()
  429. PlayAnimationFromTable({
  430. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  431. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  432. CFrame.new(1.5,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
  433. CFrame.new(-1.5,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  434. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  435. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  436. }, .5, false)
  437. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  438. end
  439. local Fill = Instance.new("Part",Character)
  440. Fill.Size = Vector3.new(1,1,1)
  441. Fill.CanCollide = false
  442. Fill.BrickColor = BrickColor.new("White")
  443. Fill.Shape = "Ball"
  444. local Fill2 = Instance.new("SpecialMesh",Fill)
  445. Fill2.MeshType = "Sphere"
  446. Fill2.Scale = Vector3.new(0.1,0.1,0.1)
  447. local Fill3 = Instance.new("Weld",Fill)
  448. Fill3.Part0 = RightArm
  449. Fill3.Part1 = Fill
  450. Fill3.C0 = CFrame.new(0,-1.2,0)
  451. Fill.Touched:connect(function(hit)
  452. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  453. Fill:remove()
  454. hit.Parent.Humanoid:TakeDamage(40)
  455. end
  456. end)
  457. coroutine.resume(coroutine.create(function()
  458. for i = 1,166 do
  459. Fill2.Scale = Fill2.Scale + Vector3.new(0.01,0.01,0.01)
  460. game:GetService("RunService").RenderStepped:wait()
  461. end
  462. end))
  463. for i = 1,10 do
  464. local Spl = Instance.new("Part",Character)
  465. Spl.BrickColor = BrickColor.new("White")
  466. Spl.Material = "Neon"
  467. Spl.CanCollide = false
  468. Spl.Shape = "Ball"
  469. Spl.CFrame = Tip.CFrame*CFrame.new(0,0,0)
  470. local Spl2 = Instance.new("SpecialMesh",Spl)
  471. Spl2.MeshType = "Sphere"
  472. Spl2.Scale = Vector3.new(0.1,0.1,0.1)
  473. local At = Instance.new("BodyPosition",Spl)
  474. At.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  475. At.position = Fill.Position
  476. wait(0.3)
  477. Spl:remove()
  478. end
  479. wait(1)
  480. for i = 0,1.2,0.1 do
  481. swait()
  482. PlayAnimationFromTable({
  483. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
  484. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  485. CFrame.new(1.8,0.5,0) * CFrame.new(0,0,0)*CFrame.Angles(1.55,0,1.55),
  486. CFrame.new(-1.5,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0,0,0),
  487. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  488. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  489. }, .5, false)
  490. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  491. end
  492. wait(0.5)
  493. Fill:remove()
  494. Pause = false
  495. wait(3)
  496. DD = false
  497. end
  498. end
  499. Mouse.Button1Down:connect(function()
  500. if attack == false and attacktype == 1 then
  501. Hit()
  502. attacktype = 2
  503. elseif attack == false and attacktype == 2 then
  504. Hit2()
  505. attacktype = 1
  506. end
  507. end)
  508.  
  509. Mouse.KeyDown:connect(function(key)
  510. if key == "e" then
  511. Slime()
  512. end
  513. if key == "q" then
  514. JOFF()
  515. end
  516. end)
  517. Ma = Instance.new("Sound",Torso)
  518. Ma.SoundId = "rbxassetid://870034109"
  519. Ma.Looped = true
  520. Ma.Pitch = 1
  521. Ma.Volume = 4
  522. wait(0.01)
  523. Ma:Play()
  524. coroutine.wrap(function()
  525. while 1 do
  526. swait()
  527. if doe <= 360 then
  528. doe = doe + 2
  529. else
  530. doe = 0
  531. end
  532. end
  533. end)()
  534. while true do
  535. swait()
  536. for i, v in pairs(Character:GetChildren()) do
  537. if v:IsA("Part") then
  538. v.Material = "SmoothPlastic"
  539. elseif v:IsA("Accessory") then
  540. v:WaitForChild("Handle").Material = "SmoothPlastic"
  541. end
  542. end
  543.  
  544. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  545. velocity = RootPart.Velocity.y
  546. sine = sine + change
  547. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  548. if RootPart.Velocity.y > 1 and hit == nil then
  549. Anim = "Jump"
  550. if Pause == false then
  551. PlayAnimationFromTable({
  552. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  553. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  554. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  555. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  556. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  557. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  558. }, .3, false)
  559. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  560. end
  561. elseif RootPart.Velocity.y < -1 and hit == nil then
  562. Anim = "Fall"
  563. if Pause == false then
  564. PlayAnimationFromTable({
  565. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  566. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  567. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  568. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  569. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  570. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  571. }, .3, false)
  572. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  573. end
  574. elseif Torsovelocity < 1 and hit ~= nil then
  575. Anim = "Idle"
  576. if Pause == false then
  577. change = 1
  578. PlayAnimationFromTable({
  579. CFrame.new(0,0,0) * CFrame.new(0,0-.05*math.sin(tick()*1),0)*CFrame.Angles(0,0,0),
  580. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.05*math.sin(tick()*1), 0, 0),
  581. CFrame.new(0.9,0,-1) * CFrame.new(0,0,0)*CFrame.Angles(0-.3*math.sin(tick()*3),1,0)*CFrame.Angles(0.8,0,0),
  582. CFrame.new(-0.7,0,0.4) * CFrame.new(0,0,0)*CFrame.Angles(0,0,1),
  583. CFrame.new(0.6,0+.05*math.sin(tick()*1),0) * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0.1),
  584. CFrame.new(-0.6,0+.05*math.sin(tick()*1),0) * CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, -0.1),
  585. }, .3, false)
  586. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  587. end
  588. elseif Torsovelocity > 2 and hit ~= nil then
  589. Anim = "Walk"
  590. if Pause == false then
  591. PlayAnimationFromTable({
  592. CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(0.2,0,0),
  593. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  594. CFrame.new(0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,-1),
  595. CFrame.new(-0.8,1,0.3) * CFrame.new(0,0,0)*CFrame.Angles(3.1,0,1),
  596. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 3)), 0, 0),
  597. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 3)), 0, 0),
  598. }, .3, false)
  599. DI3.C0 = clerp(DI3.C0,CFrame.new(0,-0.2,-2)*CFrame.new(0,0,0)*CFrame.Angles(0,1.55,0.5),.3)
  600. end
  601. end
  602. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement