Advertisement
Mista_Ligma

sps

Dec 8th, 2018
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 59.39 KB | None | 0 0
  1. --[[
  2. ______ __ __ ____ __ ______
  3. / _/ _/ / \/ \ / __/___ __ _______/ /_ / / /
  4. / // / / /\/ /\ \ __/ /_/ __ \/ / / / ___/ __ \ / // /
  5. / // / / / /_/ \ \/_ __/ /_/ / /_/ / / / /_/ / / // /
  6. / // / /_/ \_\/_/ \____/\__,_/_/ /_.___/ _/ // /
  7. /__/__/ /__/__/
  8.  
  9. --]]
  10. --https://github.com/Mokiros/roblox-FE-compatibility
  11. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  12. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  13. local RealPlayer = Player
  14. 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
  15. wait()
  16. Player = game.Players.LocalPlayer
  17. Object = Player.Character.HumanoidRootPart
  18. Arm1 = Player.Character["Right Arm"]
  19. PreviousA1 = Arm1.CFrame.p
  20. Arm2 = Player.Character["Left Arm"]
  21. PreviousA2 = Arm2.CFrame.p
  22.  
  23. Leg1 = Player.Character["Right Leg"]
  24. PreviousL1 = Leg1.CFrame.p
  25. Leg2 = Player.Character["Left Leg"]
  26. PreviousL2 = Leg2.CFrame.p
  27.  
  28. Run = game["Run Service"]
  29.  
  30. PreviousP = Object.CFrame.p
  31. Running = false
  32. Phase = false
  33. PhaseActive = false
  34. Morph = false
  35. MorphActive = false
  36. Tornado = false
  37. TornadoRadius = 50
  38. TornadoActive = false
  39. Portal = false
  40. PortalEnd = false
  41. MaxZ = 0
  42. MinZ = 0
  43. LightMaxX =0
  44. LightMinX = 0
  45. LightMaxX2 = 0
  46. LightMinX2 = 0
  47. LightMaxY =0
  48. LightMinY = 0
  49. Rotation = 0
  50. Length = 0
  51. Color = BrickColor.Gray()
  52. PColor = Color3.new(255,255,0)
  53. PrevPoint1 = nil
  54. PrevPoint2 = nil
  55. PrevPoint3 = nil
  56. PrevPoint4 = nil
  57. PrevPoint5 = nil
  58. PrevPoint6 = nil
  59. PrevPoint7 = nil
  60. PrevPoint8 = nil
  61. PrevPoint9 = nil
  62. PrevPoint10 = nil
  63. PrevPoint11 = nil
  64. PrevPoint12 = nil
  65. angle = 0
  66. Mouse = Player:GetMouse()
  67. Player.Character.Humanoid.WalkSpeed = 16
  68. i = 0
  69. j = 0
  70. z = 0
  71. w = 0
  72. a = 0
  73. s = 0
  74. d = 0
  75. mouse = game.Players.LocalPlayer:GetMouse()
  76. player = game.Players.LocalPlayer
  77.  
  78. function onKeyDown(key)
  79. if (key~=nil) then
  80. key:lower()
  81. repeat
  82. if (key == "q") and player.Character.Humanoid.WalkSpeed<1125.33 == true then --- max speed
  83. i = 1
  84. wait(0.001)
  85. player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed+12.5
  86. else
  87. break
  88. end
  89. until i == 0
  90. end
  91. end
  92.  
  93. function onKeyUp(key)
  94.  
  95. if (key~=nil) then
  96. key:lower()
  97. if (key == "q") and player.Character.Humanoid.WalkSpeed > 1125.33 and z == 0 then
  98. i = 0
  99. z = 1
  100. player.Character.Head.Smoke.Enabled = true
  101. wait(0.3)
  102. player.Character.Head.Boom:Play()
  103. player.Character.Head.Smoke.Enabled = false
  104. local boom = Instance.new("Explosion")
  105. boom.BlastPressure = 0
  106. boom.ExplosionType = "NoCraters"
  107. boom.Parent = player.Character.Head
  108. boom.Position = player.Character.Torso.Position
  109. wait(0.1)
  110. z = 0
  111. print("Boom Reloaded")
  112. elseif (key == "q") then
  113. i = 0
  114. end
  115. end
  116. end
  117.  
  118.  
  119. function onKeyDown2(key)
  120. if (key~=nil) then
  121. key:lower()
  122. repeat
  123. if (key == "e") and player.Character.Humanoid.WalkSpeed>=41 == true then
  124. j = 1
  125. wait(0.001)
  126. player.Character.Humanoid.WalkSpeed = player.Character.Humanoid.WalkSpeed-12.5
  127. else
  128. break
  129. end
  130. until j == 0
  131. end
  132. end
  133.  
  134. function onKeyUp2(key)
  135. if (key~=nil) then
  136. key:lower()
  137. if (key == "e") then
  138. j = 0
  139. end
  140. end
  141. end
  142.  
  143.  
  144. mouse.KeyDown:connect(onKeyDown)
  145. mouse.KeyUp:connect(onKeyUp)
  146. mouse.KeyDown:connect(onKeyDown2)
  147. mouse.KeyUp:connect(onKeyUp2)
  148. --------------------------------
  149. local p = game.Players.LocalPlayer
  150. local char = p.Character
  151. local mouse = p:GetMouse()
  152. local larm = char["Left Arm"]
  153. local rarm = char["Right Arm"]
  154. local lleg = char["Left Leg"]
  155. local rleg = char["Right Leg"]
  156. local hed = char.Head
  157. local torso = char.Torso
  158. local hum = char.Humanoid
  159. local cam = game.Workspace.CurrentCamera
  160. local root = char.HumanoidRootPart
  161. local deb = false
  162. local shot = 0
  163. local debris=game:service"Debris"
  164. local l = game:GetService("Lighting")
  165. local rs = game:GetService("RunService").RenderStepped
  166. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  167. math.randomseed(os.time())
  168. for i,v in pairs(char:children()) do
  169. if v:IsA("Hat") then
  170. v:Destroy()
  171. end
  172. end
  173. for i,v in pairs (hed:GetChildren()) do
  174. if v:IsA("Sound") then
  175. v:Destroy()
  176. end
  177. end
  178. ----------------colors----------------------
  179. plr=game:service'Players'.LocalPlayer
  180. chr=plr.Character
  181. local ms = plr:GetMouse()
  182. CV="Bright red"
  183.  
  184. local txt = Instance.new("BillboardGui", chr)
  185. txt.Adornee = chr.Head
  186. txt.Name = "_status"
  187. txt.Size = UDim2.new(4, 0, 2.5, 0)
  188. txt.StudsOffset = Vector3.new(-4, 2, 0)
  189. local text = Instance.new("TextLabel", txt)
  190. text.Size = UDim2.new(3, 0, 0.5, 0)
  191. text.FontSize = "Size24"
  192. text.TextScaled = true
  193. text.TextTransparency = 0
  194. text.BackgroundTransparency = 1
  195. text.TextTransparency = 0
  196. text.TextStrokeTransparency = 0
  197. text.Font = "SciFi"
  198. text.TextStrokeColor3 = Color3.new(100/255,0,0)-- wff
  199. text.Text = "Superman"
  200. --------------------------------------
  201. plr=game:service'Players'.LocalPlayer
  202. chr=plr.Character
  203. local ms = plr:GetMouse()
  204. CV="Bright red"
  205.  
  206. local txt = Instance.new("BillboardGui", chr)
  207. txt.Adornee = chr.Head
  208. txt.Name = "_status"
  209. txt.Size = UDim2.new(4, 0, 2.5, 0)
  210. txt.StudsOffset = Vector3.new(-4, 1.5, 0)
  211. local text = Instance.new("TextLabel", txt)
  212. text.Size = UDim2.new(3, 0, 0.5, 0)
  213. text.FontSize = "Size24"
  214. text.TextScaled = false
  215. text.TextTransparency = 0
  216. text.BackgroundTransparency = 1
  217. text.TextTransparency = 0
  218. text.TextStrokeTransparency = 0
  219. text.Font = "SciFi"
  220. text.TextStrokeColor3 = Color3.new(29/255,56/255,79/255)-- wff hair stuff
  221. text.Text = "By bannaboy43"
  222.  
  223. ----------------------Clothes-------------------------------
  224. --[superman edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
  225. wait(1 / 60)
  226.  
  227. p = game.Players.LocalPlayer
  228. char = p.Character
  229. hum = char.Humanoid
  230.  
  231. wait()
  232. hum.Health =hum.MaxHealth
  233. char.Head.face.Texture = "rbxassetid://324191500"
  234. ------------- hair stuff---------------------------------
  235.  
  236. Head = Instance.new("Part", char)
  237. Head.Size = Vector3.new(1,1,1)
  238. Headmesh = Instance.new("SpecialMesh", Head)
  239. Headmesh.MeshId = "rbxassetid://15730710"
  240. Headmesh.Scale = Vector3.new(1.05, 1.1, 1.1)
  241. Headmesh.TextureId = "http://www.roblox.com/asset/?id=15730704"
  242. Head.Transparency = 0
  243. Head.CanCollide = false
  244. Head.Name = "plrHead"
  245. Head.Anchored = false
  246. Head.Color = Color3.new (156/255,146/255,4/255)
  247. Weld = Instance.new("Weld", char)
  248. Weld.Part0 = char["Head"]
  249. Weld.Part1 = Head
  250. Weld.C1 = CFrame.new(0,-.5,0)*CFrame.Angles(0,0,0)
  251.  
  252. function startup()
  253. coroutine.resume(coroutine.create(function()
  254. local m = Instance.new("Model", char)
  255. m.Name = "* C"
  256. local chat = Instance.new("Part", m)
  257. chat.TopSurface = "Smooth"
  258. chat.BottomSurface = "Smooth"
  259. chat.Name = "Head"
  260. chat.FormFactor = "Custom"
  261. chat.Size = Vector3.new(0.05, 0.05, 0.1)
  262. chat.Transparency = 0.9
  263. chat.CanCollide = false
  264. local Weld7 = Instance.new("Weld", char)
  265. Weld7.Part0 = char.Head
  266. Weld7.Part1 = chat
  267. Weld7.C1 = CFrame.new(0, -2, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  268. local cy7 = Instance.new("BlockMesh", chat)
  269. local h = Instance.new("Humanoid", m)
  270.  
  271.  
  272.  
  273. end))
  274. end
  275.  
  276.  
  277.  
  278.  
  279.  
  280.  
  281. ----------------------------------------------------
  282.  
  283.  
  284. for _, a in pairs(char:children()) do
  285. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  286. a:Destroy()
  287. end
  288. end
  289. local s = Instance.new('Shirt', char)
  290. s.ShirtTemplate = "rbxassetid://344935801"
  291. local p = Instance.new('Pants', char)
  292. p.PantsTemplate = "rbxassetid://344934294"
  293.  
  294. Instance.new("ForceField",char).Visible = false
  295. local poo = Instance.new("IntValue",char)
  296. poo.Name = "haha nope"
  297.  
  298. wait()
  299.  
  300. Instance.new("ForceField",char).Visible = false
  301. ---------------trail test-----------------------
  302.  
  303. -- [ SANIIIC HES ON DA RAWN ] --
  304. wait()
  305. thing = 0
  306. LoudVolume = false
  307. Submerged = false
  308. Music = true
  309. script.Name = "SANIIIIC"
  310. Player = game.Players.LocalPlayer
  311. c = game.Players.LocalPlayer.Character
  312. Head = c.Head
  313. Humanoid = c.Humanoid
  314. anim = c.Humanoid.Animator
  315. rage = false
  316. p = game.Players.LocalPlayer
  317. Music = false
  318. anim = Humanoid.Animator
  319. local Effects = {}
  320. attack = false
  321. local attacking = false
  322. vt = Vector3.new
  323. bc = BrickColor.new
  324. br = BrickColor.random
  325. it = Instance.new
  326. cf = CFrame.new
  327. euler = CFrame.fromEulerAnglesXYZ
  328. angles = CFrame.Angles
  329. matr = math.random
  330. mouse = Player:GetMouse()
  331.  
  332. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  333. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  334. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  335. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  336. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  337. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  338. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  339. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  340. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  341. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  342. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  343. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  344. RS = c.Torso:FindFirstChild("Right Shoulder")
  345. LS = c.Torso:FindFirstChild("Left Shoulder")
  346. RH = c.Torso:FindFirstChild("Right Hip")
  347. LH = c.Torso:FindFirstChild("Left Hip")
  348. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  349. N = c.Torso:FindFirstChild("Neck")
  350. cf = CFrame.new
  351. ang = CFrame.Angles
  352. rd = math.rad
  353. rd2 = math.random
  354.  
  355. --[[mainShirt = c.Shirt
  356. mainPants = c.Pants
  357. mainBColors = c["Body Colors"]
  358. mainShirt.ShirtTemplate = "rbxassetid://769869277"
  359. mainPants.PantsTemplate = "rbxassetid://805486769"
  360. mainBColors.HeadColor = BrickColor.new("Pastel brown")
  361. mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
  362. mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
  363. mainBColors.RightArmColor = BrickColor.new("Pastel brown")
  364. mainBColors.RightLegColor = BrickColor.new("Pastel brown")
  365. mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
  366. function swait(num)
  367. if num==0 or num==nil then
  368. game:service'RunService'.Heartbeat:wait(0)
  369. else
  370. for i=0,num do
  371. game:service'RunService'.Heartbeat:wait(0)
  372. end
  373. end
  374. end
  375.  
  376. function lerpz(joint, prop, cfrmz, alp)
  377. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  378. end
  379. function resetlerp()
  380. RJ.C0 = RJC0
  381. RJ.C1 = RJC1
  382. N.C0 = NC0
  383. N.C1 = NC1
  384. RS.C0 = RSC0
  385. RS.C1 = RSC1
  386. LS.C0 = LSC0
  387. LS.C1 = LSC1
  388. RH.C0 = RHC0
  389. RH.C1 = RHC1
  390. LH.C0 = LHC0
  391. LH.C1 = LHC1
  392. end
  393.  
  394. local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://1246460167" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
  395.  
  396. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new (29/255,56/255,79/255)),ColorSequenceKeypoint.new(1, Color3.new(29/255,56/255,79/255))} -- red (85/255,0,0)
  397. local ColorArray2 = {ColorSequenceKeypoint.new(0, Color3.new (105/255,64/255,40/255)),ColorSequenceKeypoint.new(1, Color3.new(35/255,0/255,0/255))}
  398.  
  399. local att1 = Instance.new("Attachment", c["Right Leg"])
  400. att1.Name = "att1"
  401. att1.Position = Vector3.new(0.5, 1, 0.5)
  402. local att2 = Instance.new("Attachment", c["Right Leg"])
  403. att2.Name = "att2"
  404. att2.Position = Vector3.new(-0.5, 1, 0.5)
  405. local att3 = Instance.new("Attachment", c["Right Leg"])
  406. att3.Name = "att3"
  407. att3.Position = Vector3.new(0.5, -1, 0.5)
  408. local att4 = Instance.new("Attachment", c["Right Leg"])
  409. att4.Name = "att4"
  410. att4.Position = Vector3.new(-0.5, -1, 0.5)
  411.  
  412. local attt1 = Instance.new("Attachment", c["Left Leg"])
  413. attt1.Name = "att1"
  414. attt1.Position = Vector3.new(0.5, 1, 0.5)
  415. local attt2 = Instance.new("Attachment", c["Left Leg"])
  416. attt2.Name = "att2"
  417. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  418. local attt3 = Instance.new("Attachment", c["Left Leg"])
  419. attt3.Name = "att3"
  420. attt3.Position = Vector3.new(0.5, -1, 0.5)
  421. local attt4 = Instance.new("Attachment", c["Left Leg"])
  422. attt4.Name = "att4"
  423. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  424.  
  425. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  426. trailtop1.Enabled = true
  427. trailtop1.Texture = "rbxassetid://16607923"
  428. trailtop1.Name = "toptrail"
  429. trailtop1.MinLength = 0
  430. trailtop1.Lifetime = 0.1
  431.  
  432. trailtop1.Color = ColorSequence.new(ColorArray)
  433.  
  434. trailtop1.Attachment0 = att1
  435. trailtop1.Attachment1 = att2
  436. trailtop1.Transparency = NumberSequence.new({
  437. NumberSequenceKeypoint.new(0, 0.5, 0),
  438. NumberSequenceKeypoint.new(1, 1, 0)
  439. })
  440.  
  441. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  442. trailbot1.Enabled = true
  443. trailbot1.Texture = "rbxassetid://16607923"
  444. trailbot1.Name = "bottrail"
  445. trailbot1.MinLength = 0
  446. trailbot1.Lifetime = 0.1
  447.  
  448. trailbot1.Color = ColorSequence.new(ColorArray)
  449.  
  450. trailbot1.Attachment0 = att3
  451. trailbot1.Attachment1 = att4
  452. trailbot1.Transparency = NumberSequence.new({
  453. NumberSequenceKeypoint.new(0, 0.5, 0),
  454. NumberSequenceKeypoint.new(1, 1, 0)
  455. })
  456.  
  457. local trailside1 = Instance.new("Trail", c["Right Leg"])
  458. trailside1.Enabled = true
  459. trailside1.Texture = "rbxassetid://16607923"
  460. trailside1.Name = "sidetrail1"
  461. trailside1.MinLength = 0
  462. trailside1.Lifetime = 0.1
  463.  
  464. trailside1.Color = ColorSequence.new(ColorArray)
  465.  
  466. trailside1.Attachment0 = att1
  467. trailside1.Attachment1 = att3
  468. trailside1.Transparency = NumberSequence.new({
  469. NumberSequenceKeypoint.new(0, 0.5, 0),
  470. NumberSequenceKeypoint.new(1, 1, 0)
  471. })
  472. --lightning
  473. local trailside1 = Instance.new("Trail", c["Right Leg"])
  474. trailside1.Enabled = true
  475. trailside1.Texture = "http://www.roblox.com/asset/?id=243098098"
  476. trailside1.Name = "sidetrail1"
  477. trailside1.MinLength = 0
  478. trailside1.Lifetime = 2
  479. trailside1.LightEmission =2
  480. trailside1.Color = ColorSequence.new(ColorArray2)
  481.  
  482. trailside1.Attachment0 = att1
  483. trailside1.Attachment1 = att3
  484. trailside1.Transparency = NumberSequence.new({
  485. NumberSequenceKeypoint.new(0, 0.5, 0),
  486. NumberSequenceKeypoint.new(1, 1, 0)
  487. })
  488.  
  489. local trailside2 = Instance.new("Trail", c["Right Leg"])
  490. trailside2.Enabled = true
  491. trailside2.Texture = "rbxassetid://16607923"
  492. trailside2.Name = "sidetrail2"
  493. trailside2.MinLength = 0
  494. trailside2.Lifetime = 0.1
  495. spawn(function()
  496. while true do wait()
  497. trailside2.Color = ColorSequence.new(ColorArray)
  498. end
  499. end)
  500. trailside2.Attachment0 = att2
  501. trailside2.Attachment1 = att4
  502. trailside2.Transparency = NumberSequence.new({
  503. NumberSequenceKeypoint.new(0, 0.5, 0),
  504. NumberSequenceKeypoint.new(1, 1, 0)
  505. })
  506.  
  507.  
  508. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  509. trailtop12.Enabled = true
  510. trailtop12.Texture = "rbxassetid://16607923"
  511. trailtop12.Name = "toptrail"
  512. trailtop12.MinLength = 0
  513. trailtop12.Lifetime = 0.1
  514. spawn(function()
  515. while true do wait()
  516. trailtop12.Color = ColorSequence.new(ColorArray)
  517. end
  518. end)
  519. trailtop12.Attachment0 = attt1
  520. trailtop12.Attachment1 = attt2
  521. trailtop12.Transparency = NumberSequence.new({
  522. NumberSequenceKeypoint.new(0, 0.5, 0),
  523. NumberSequenceKeypoint.new(1, 1, 0)
  524. })
  525.  
  526. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  527. trailbot2.Enabled = true
  528. trailbot2.Texture = "rbxassetid://16607923"
  529. trailbot2.Name = "bottrail"
  530. trailbot2.MinLength = 0
  531. trailbot2.Lifetime = 0.1
  532.  
  533. trailbot2.Color = ColorSequence.new(ColorArray)
  534.  
  535. trailbot2.Attachment0 = attt3
  536. trailbot2.Attachment1 = attt4
  537. trailbot2.Transparency = NumberSequence.new({
  538. NumberSequenceKeypoint.new(0, 0.5, 0),
  539. NumberSequenceKeypoint.new(1, 1, 0)
  540. })
  541.  
  542. local trailside12 = Instance.new("Trail", c["Left Leg"])
  543. trailside12.Enabled = true
  544. trailside12.Texture = "rbxassetid://16607923"
  545. trailside12.Name = "sidetrail1"
  546. trailside12.MinLength = 0
  547. trailside12.Lifetime = 0.1
  548.  
  549. trailside12.Color = ColorSequence.new(ColorArray)
  550.  
  551. trailside12.Attachment0 = attt1
  552. trailside12.Attachment1 = attt3
  553. trailside12.Transparency = NumberSequence.new({
  554. NumberSequenceKeypoint.new(0, 0.5, 0),
  555. NumberSequenceKeypoint.new(1, 1, 0)
  556. })
  557.  
  558. local trailside22 = Instance.new("Trail", c["Left Leg"])
  559. trailside22.Enabled = true
  560. trailside22.Texture = "rbxassetid://16607923"
  561. trailside22.Name = "sidetrail2"
  562. trailside22.MinLength = 0
  563. trailside22.Lifetime = 0.1
  564.  
  565. trailside22.Color = ColorSequence.new(ColorArray)
  566.  
  567. trailside22.Attachment0 = attt2
  568. trailside22.Attachment1 = attt4
  569. trailside22.Transparency = NumberSequence.new({
  570. NumberSequenceKeypoint.new(0, 0.5, 0),
  571. NumberSequenceKeypoint.new(1, 1, 0)
  572. })
  573.  
  574.  
  575. local att1 = Instance.new("Attachment", c["Right Arm"])
  576. att1.Name = "att1"
  577. att1.Position = Vector3.new(0.5, 1, 0.5)
  578. local att2 = Instance.new("Attachment", c["Right Arm"])
  579. att2.Name = "att2"
  580. att2.Position = Vector3.new(-0.5, 1, 0.5)
  581. local att3 = Instance.new("Attachment", c["Right Arm"])
  582. att3.Name = "att3"
  583. att3.Position = Vector3.new(0.5, -1, 0.5)
  584. local att4 = Instance.new("Attachment", c["Right Arm"])
  585. att4.Name = "att4"
  586. att4.Position = Vector3.new(-0.5, -1, 0.5)
  587.  
  588. local attt1 = Instance.new("Attachment", c["Left Arm"])
  589. attt1.Name = "att1"
  590. attt1.Position = Vector3.new(0.5, 1, 0.5)
  591. local attt2 = Instance.new("Attachment", c["Left Arm"])
  592. attt2.Name = "att2"
  593. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  594. local attt3 = Instance.new("Attachment", c["Left Arm"])
  595. attt3.Name = "att3"
  596. attt3.Position = Vector3.new(0.5, -1, 0.5)
  597. local attt4 = Instance.new("Attachment", c["Left Arm"])
  598. attt4.Name = "att4"
  599. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  600.  
  601. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  602. trailtop1.Enabled = true
  603. trailtop1.Texture = "rbxassetid://16607923"
  604. trailtop1.Name = "toptrail"
  605. trailtop1.MinLength = 0
  606. trailtop1.Lifetime = 0.1
  607.  
  608. trailtop1.Color = ColorSequence.new(ColorArray)
  609.  
  610. trailtop1.Attachment0 = att1
  611. trailtop1.Attachment1 = att2
  612. trailtop1.Transparency = NumberSequence.new({
  613. NumberSequenceKeypoint.new(0, 0.5, 0),
  614. NumberSequenceKeypoint.new(1, 1, 0)
  615. })
  616.  
  617. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  618. trailbot1.Enabled = true
  619. trailbot1.Texture = "rbxassetid://16607923"
  620. trailbot1.Name = "bottrail"
  621. trailbot1.MinLength = 0
  622. trailbot1.Lifetime = 0.1
  623. spawn(function()
  624. while true do wait()
  625. trailbot1.Color = ColorSequence.new(ColorArray)
  626. end
  627. end)
  628. trailbot1.Attachment0 = att3
  629. trailbot1.Attachment1 = att4
  630. trailbot1.Transparency = NumberSequence.new({
  631. NumberSequenceKeypoint.new(0, 0.5, 0),
  632. NumberSequenceKeypoint.new(1, 1, 0)
  633. })
  634.  
  635. local trailside1 = Instance.new("Trail", c["Right Arm"])
  636. trailside1.Enabled = true
  637. trailside1.Texture = "rbxassetid://16607923"
  638. trailside1.Name = "sidetrail1"
  639. trailside1.MinLength = 0
  640. trailside1.Lifetime = 0.1
  641.  
  642. trailside1.Color = ColorSequence.new(ColorArray)
  643.  
  644. trailside1.Attachment0 = att1
  645. trailside1.Attachment1 = att3
  646. trailside1.Transparency = NumberSequence.new({
  647. NumberSequenceKeypoint.new(0, 0.5, 0),
  648. NumberSequenceKeypoint.new(1, 1, 0)
  649. })
  650.  
  651. local trailside2 = Instance.new("Trail", c["Right Arm"])
  652. trailside2.Enabled = true
  653. trailside2.Texture = "rbxassetid://16607923"
  654. trailside2.Name = "sidetrail2"
  655. trailside2.MinLength = 0
  656. trailside2.Lifetime = 0.1
  657.  
  658. trailside2.Color = ColorSequence.new(ColorArray)
  659.  
  660. trailside2.Attachment0 = att2
  661. trailside2.Attachment1 = att4
  662. trailside2.Transparency = NumberSequence.new({
  663. NumberSequenceKeypoint.new(0, 0.5, 0),
  664. NumberSequenceKeypoint.new(1, 1, 0)
  665. })
  666.  
  667.  
  668. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  669. trailtop12.Enabled = true
  670. trailtop12.Texture = "rbxassetid://16607923"
  671. trailtop12.Name = "toptrail"
  672. trailtop12.MinLength = 0
  673. trailtop12.Lifetime = 0.1
  674.  
  675. trailtop12.Color = ColorSequence.new(ColorArray)
  676.  
  677. trailtop12.Attachment0 = attt1
  678. trailtop12.Attachment1 = attt2
  679. trailtop12.Transparency = NumberSequence.new({
  680. NumberSequenceKeypoint.new(0, 0.5, 0),
  681. NumberSequenceKeypoint.new(1, 1, 0)
  682. })
  683.  
  684. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  685. trailbot2.Enabled = true
  686. trailbot2.Texture = "rbxassetid://16607923"
  687. trailbot2.Name = "bottrail"
  688. trailbot2.MinLength = 0
  689. trailbot2.Lifetime = 0.1
  690.  
  691. trailbot2.Color = ColorSequence.new(ColorArray)
  692.  
  693. trailbot2.Attachment0 = attt3
  694. trailbot2.Attachment1 = attt4
  695. trailbot2.Transparency = NumberSequence.new({
  696. NumberSequenceKeypoint.new(0, 0.5, 0),
  697. NumberSequenceKeypoint.new(1, 1, 0)
  698. })
  699.  
  700. local trailside12 = Instance.new("Trail", c["Left Arm"])
  701. trailside12.Enabled = true
  702. trailside12.Texture = "rbxassetid://16607923"
  703. trailside12.Name = "sidetrail1"
  704. trailside12.MinLength = 0
  705. trailside12.Lifetime = 0.1
  706.  
  707. trailside12.Color = ColorSequence.new(ColorArray)
  708.  
  709. trailside12.Attachment0 = attt1
  710. trailside12.Attachment1 = attt3
  711. trailside12.Transparency = NumberSequence.new({
  712. NumberSequenceKeypoint.new(0, 0.5, 0),
  713. NumberSequenceKeypoint.new(1, 1, 0)
  714. })
  715.  
  716. local trailside22 = Instance.new("Trail", c["Left Arm"])
  717. trailside22.Enabled = true
  718. trailside22.Texture = "rbxassetid://16607923"
  719. trailside22.Name = "sidetrail2"
  720. trailside22.MinLength = 0
  721. trailside22.Lifetime = 0.1
  722.  
  723. trailside22.Color = ColorSequence.new(ColorArray)
  724.  
  725. trailside22.Attachment0 = attt2
  726. trailside22.Attachment1 = attt4
  727. trailside22.Transparency = NumberSequence.new({
  728. NumberSequenceKeypoint.new(0, 0.5, 0),
  729. NumberSequenceKeypoint.new(1, 1, 0)
  730. })
  731.  
  732. local att1 = Instance.new("Attachment", c["Torso"])
  733. att1.Name = "att1"
  734. att1.Position = Vector3.new(1, 1, 0.5)
  735. local att2 = Instance.new("Attachment", c["Torso"])
  736. att2.Name = "att2"
  737. att2.Position = Vector3.new(-1, 1, 0.5)
  738. local att3 = Instance.new("Attachment", c["Torso"])
  739. att3.Name = "att3"
  740. att3.Position = Vector3.new(1, -1, 0.5)
  741. local att4 = Instance.new("Attachment", c["Torso"])
  742. att4.Name = "att4"
  743. att4.Position = Vector3.new(-1, -1, 0.5)
  744.  
  745. local attt1 = Instance.new("Attachment", c["Head"])
  746. attt1.Name = "att1"
  747. attt1.Position = Vector3.new(.55, .55, 0.025)
  748. local attt2 = Instance.new("Attachment", c["Head"])
  749. attt2.Name = "att2"
  750. attt2.Position = Vector3.new(-.55, .55, 0.025)
  751. local attt3 = Instance.new("Attachment", c["Head"])
  752. attt3.Name = "att3"
  753. attt3.Position = Vector3.new(.55, -.5, 0.025)
  754. local attt4 = Instance.new("Attachment", c["Head"])
  755. attt4.Name = "att4"
  756. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  757. local trailtop1 = Instance.new("Trail", c["Torso"])
  758. trailtop1.Enabled = true
  759. trailtop1.Texture = "rbxassetid://16607923"
  760. trailtop1.Name = "toptrail"
  761. trailtop1.MinLength = 0
  762. trailtop1.Lifetime = 0.1
  763.  
  764. trailtop1.Color = ColorSequence.new(ColorArray)
  765.  
  766. trailtop1.Attachment0 = att1
  767. trailtop1.Attachment1 = att2
  768. trailtop1.Transparency = NumberSequence.new({
  769. NumberSequenceKeypoint.new(0, 0.5, 0),
  770. NumberSequenceKeypoint.new(1, 1, 0)
  771. })
  772. local trailbot1 = Instance.new("Trail", c["Torso"])
  773. trailbot1.Enabled = true
  774. trailbot1.Texture = "rbxassetid://16607923"
  775. trailbot1.Name = "bottrail"
  776. trailbot1.MinLength = 0
  777. trailbot1.Lifetime = 0.1
  778.  
  779. trailbot1.Color = ColorSequence.new(ColorArray)
  780.  
  781. trailbot1.Attachment0 = att3
  782. trailbot1.Attachment1 = att4
  783. trailbot1.Transparency = NumberSequence.new({
  784. NumberSequenceKeypoint.new(0, 0.5, 0),
  785. NumberSequenceKeypoint.new(1, 1, 0)
  786. })
  787. local trailside1 = Instance.new("Trail", c["Torso"])
  788. trailside1.Enabled = true
  789. trailside1.Texture = "rbxassetid://16607923"
  790. trailside1.Name = "sidetrail1"
  791. trailside1.MinLength = 0
  792. trailside1.Lifetime = 0.1
  793.  
  794. trailside1.Color = ColorSequence.new(ColorArray)
  795.  
  796. trailside1.Attachment0 = att1
  797. trailside1.Attachment1 = att3
  798. trailside1.Transparency = NumberSequence.new({
  799. NumberSequenceKeypoint.new(0, 0.5, 0),
  800. NumberSequenceKeypoint.new(1, 1, 0)
  801. })
  802. local trailside2 = Instance.new("Trail", c["Torso"])
  803. trailside2.Enabled = true
  804. trailside2.Texture = "rbxassetid://16607923"
  805. trailside2.Name = "sidetrail2"
  806. trailside2.MinLength = 0
  807. trailside2.Lifetime = 0.1
  808.  
  809. trailside2.Color = ColorSequence.new(ColorArray)
  810.  
  811. trailside2.Attachment0 = att2
  812. trailside2.Attachment1 = att4
  813. trailside2.Transparency = NumberSequence.new({
  814. NumberSequenceKeypoint.new(0, 0.5, 0),
  815. NumberSequenceKeypoint.new(1, 1, 0)
  816. })
  817. local trailtop12 = Instance.new("Trail", c["Head"])
  818. trailtop12.Enabled = true
  819. trailtop12.Texture = "rbxassetid://16607923"
  820. trailtop12.Name = "toptrail"
  821. trailtop12.MinLength = 0
  822. trailtop12.Lifetime = 0.1
  823.  
  824. trailtop12.Color = ColorSequence.new(ColorArray)
  825.  
  826. trailtop12.Attachment0 = attt1
  827. trailtop12.Attachment1 = attt2
  828. trailtop12.Transparency = NumberSequence.new({
  829. NumberSequenceKeypoint.new(0, 0.5, 0),
  830. NumberSequenceKeypoint.new(1, 1, 0)
  831. })
  832. local trailbot2 = Instance.new("Trail", c["Head"])
  833. trailbot2.Enabled = true
  834. trailbot2.Texture = "rbxassetid://16607923"
  835. trailbot2.Name = "bottrail"
  836. trailbot2.MinLength = 0
  837. trailbot2.Lifetime = 0.1
  838.  
  839. trailbot2.Color = ColorSequence.new(ColorArray)
  840.  
  841. trailbot2.Attachment0 = attt3
  842. trailbot2.Attachment1 = attt4
  843. trailbot2.Transparency = NumberSequence.new({
  844. NumberSequenceKeypoint.new(0, 0.5, 0),
  845. NumberSequenceKeypoint.new(1, 1, 0)
  846. })
  847. local trailside12 = Instance.new("Trail", c["Head"])
  848. trailside12.Enabled = true
  849. trailside12.Texture = "rbxassetid://16607923"
  850. trailside12.Name = "sidetrail1"
  851. trailside12.MinLength = 0
  852. trailside12.Lifetime = 0.1
  853.  
  854. trailside12.Color = ColorSequence.new(ColorArray)
  855.  
  856. trailside12.Attachment0 = attt1
  857. trailside12.Attachment1 = attt3
  858. trailside12.Transparency = NumberSequence.new({
  859. NumberSequenceKeypoint.new(0, 0.5, 0),
  860. NumberSequenceKeypoint.new(1, 1, 0)
  861. })
  862. local trailside22 = Instance.new("Trail", c["Head"])
  863. trailside22.Enabled = true
  864. trailside22.Texture = "rbxassetid://16607923"
  865. trailside22.Name = "sidetrail2"
  866. trailside22.MinLength = 0
  867. trailside22.Lifetime = 0.1
  868.  
  869. trailside22.Color = ColorSequence.new(ColorArray)
  870.  
  871. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  872. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  873.  
  874. Sped = 0
  875.  
  876. --function ragplayer(cactus)
  877. --local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://131026421" S.Volume = 2 S:Play()
  878. --cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
  879. --if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
  880. --cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
  881. --makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
  882. --maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
  883. --end
  884. --if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
  885. --cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
  886. --makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
  887. --maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
  888. --end
  889. --if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
  890. --cactus.Torso:FindFirstChild("Right Hip"):Destroy()
  891. --makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
  892. --maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
  893. --end
  894. --if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
  895. --cactus.Torso:FindFirstChild("Left Hip"):Destroy()
  896. --makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
  897. --maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
  898. --end
  899. --cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
  900. --end
  901. --function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
  902. --
  903. --function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
  904.  
  905. local hitz = false
  906. c.HumanoidRootPart.Touched:connect(function(Hit)
  907. if thing >= 100 then
  908. if hitz == false then hitz = true
  909. --ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://386946017" S.Volume = 6 S:Play()
  910. --wait(15)
  911. end
  912. end
  913. end)
  914.  
  915.  
  916.  
  917.  
  918.  
  919. sine = 0
  920.  
  921. game:GetService("RunService").RenderStepped:connect(function()
  922. if attack == false then
  923. thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  924. game.Workspace.CurrentCamera.FieldOfView = 80+thing/15
  925. if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
  926.  
  927.  
  928. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
  929. sine = sine + 1 Sped = Sped + 0.1
  930.  
  931. if thing <= 75 then -- this is spedo
  932. for i,v in pairs(c:children()) do
  933. if v.ClassName == "Part" then
  934. for i,v2 in pairs(v:children()) do
  935. if v2.ClassName == "Trail" then
  936. v2.Enabled = false
  937. --v2.LightEmission = 1 --if want gloww
  938. end
  939. end
  940. end
  941. end
  942. else
  943. for i,v in pairs(c:children()) do
  944. if v.ClassName == "Part" then
  945. for i,v2 in pairs(v:children()) do
  946. if v2.ClassName == "Trail" then
  947. v2.Lifetime = .18
  948. v2.Enabled = true
  949. end
  950. end
  951. end
  952. end
  953. end
  954. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/25), rd(0), rd(0)), 1)
  955. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  956. else c.Humanoid.WalkSpeed = 16 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
  957. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  958. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  959. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  960. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  961. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  962. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  963. end
  964. for i,v in pairs (c:children()) do
  965. if v.ClassName == "Accessory" then
  966. for i,v2 in pairs (v:children()) do
  967. if v2.ClassName == "Part" then
  968. v2.Anchored = false
  969. end
  970. end
  971. end
  972. for i,v in pairs (c:children()) do
  973. if v.ClassName == "Part" then
  974. v.Anchored = false
  975. end
  976. end
  977. end
  978. end
  979. end)
  980.  
  981. z = Instance.new("Sound",char)
  982. z.SoundId = "rbxassetid://273881250" -- Put Music ID Here.
  983. z.Looped = true
  984. z.Volume = 2
  985. z:Play()
  986. wait(.45)
  987.  
  988. --Gui stuffff
  989. function sandbox(var,func)
  990. local env = getfenv(func)
  991. local newenv = setmetatable({},{
  992. __index = function(self,k)
  993. if k=="script" then
  994. return var
  995. else
  996. return env[k]
  997. end
  998. end,
  999. })
  1000. setfenv(func,newenv)
  1001. return func
  1002. end
  1003. cors = {}
  1004. mas = Instance.new("Model",game:GetService("Lighting"))
  1005. GuiMain0 = Instance.new("GuiMain")
  1006. ImageLabel1 = Instance.new("ImageLabel")
  1007. Script2 = Instance.new("Script")
  1008. Script3 = Instance.new("Script")
  1009. ScreenGui4 = Instance.new("ScreenGui")
  1010. ImageLabel5 = Instance.new("ImageLabel")
  1011. TextLabel6 = Instance.new("TextLabel")
  1012. Script7 = Instance.new("Script")
  1013. TextLabel8 = Instance.new("TextLabel")
  1014. Script9 = Instance.new("Script")
  1015. TextLabel10 = Instance.new("TextLabel")
  1016. ImageLabel11 = Instance.new("ImageLabel")
  1017. TextLabel12 = Instance.new("TextLabel")
  1018. Script13 = Instance.new("Script")
  1019. ScreenGui14 = Instance.new("ScreenGui")
  1020. Frame15 = Instance.new("Frame")
  1021. ImageLabel16 = Instance.new("ImageLabel")
  1022. ImageLabel17 = Instance.new("ImageLabel")
  1023. ImageLabel18 = Instance.new("ImageLabel")
  1024. ImageLabel19 = Instance.new("ImageLabel")
  1025. GuiMain0.Parent = mas
  1026. ImageLabel1.Name = "Health"
  1027. ImageLabel1.Parent = GuiMain0
  1028. ImageLabel1.Position = UDim2.new(0, 0, -0.0500000007, 0)
  1029. ImageLabel1.Visible = false
  1030. ImageLabel1.Size = UDim2.new(1.10000002, 0, 1.22000003, 0)
  1031. ImageLabel1.BackgroundColor = BrickColor.new("Maroon")
  1032. ImageLabel1.BackgroundColor3 = Color3.new(0.454902, 0, 0.0941177)
  1033. ImageLabel1.BackgroundTransparency = 1
  1034. ImageLabel1.Image = "http://www.roblox.com/asset/?id=16232221"
  1035. Script2.Name = "Monitor"
  1036. Script2.Parent = ImageLabel1
  1037. table.insert(cors,sandbox(Script2,function()
  1038. Player = script.Parent.Parent.Parent.Parent.Character
  1039. s = Player.Humanoid
  1040. while true do
  1041. if s.Health <= 20 then
  1042. script.Parent.Visible = true
  1043. script.Parent.Pain.Disabled=false
  1044. end
  1045. if s.Health >= 20 then
  1046. script.Parent.Visible = false
  1047. end
  1048. wait()
  1049. end
  1050.  
  1051.  
  1052.  
  1053. end))
  1054. Script3.Name = "Pain"
  1055. Script3.Parent = ImageLabel1
  1056. table.insert(cors,sandbox(Script3,function()
  1057. s=script.Parent
  1058. while true do
  1059. s.BackgroundTransparency=1
  1060. wait(.05)
  1061. s.BackgroundTransparency=.9
  1062. wait(.05)
  1063. s.BackgroundTransparency=.8
  1064. wait(.05)
  1065. s.BackgroundTransparency=.7
  1066. wait(.05)
  1067. s.BackgroundTransparency=.6
  1068. wait(.05)
  1069. s.BackgroundTransparency=.7
  1070. wait(.05)
  1071. s.BackgroundTransparency=.8
  1072. wait(.05)
  1073. s.BackgroundTransparency=.9
  1074. wait(.05)
  1075. end
  1076.  
  1077. end))
  1078. ScreenGui4.Name = "HUD"
  1079. ScreenGui4.Parent = mas
  1080. ImageLabel5.Name = "SpeedStatus"
  1081. ImageLabel5.Parent = ScreenGui4
  1082. ImageLabel5.Position = UDim2.new(0.991146505, -100, 0.980733514, -100)
  1083. ImageLabel5.Rotation = 4
  1084. ImageLabel5.Size = UDim2.new(0, 41, 0, 46)
  1085. ImageLabel5.BackgroundColor = BrickColor.new("Maroon")
  1086. ImageLabel5.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  1087. ImageLabel5.BackgroundTransparency = 0.20000000298023
  1088. ImageLabel5.BorderSizePixel = 0
  1089. ImageLabel5.Image = "http://www.roblox.com/asset/?id=71659683"
  1090. TextLabel6.Name = "Value"
  1091. TextLabel6.Parent = ImageLabel5
  1092. TextLabel6.Position = UDim2.new(0, -275, 0, 4)
  1093. TextLabel6.Size = UDim2.new(0, 275, 0, 44)
  1094. TextLabel6.BackgroundColor = BrickColor.new("Maroon")
  1095. TextLabel6.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  1096. TextLabel6.BackgroundTransparency = 0.20000000298023
  1097. TextLabel6.BorderSizePixel = 0
  1098. TextLabel6.Font = Enum.Font.SourceSansBold
  1099. TextLabel6.FontSize = Enum.FontSize.Size14
  1100. TextLabel6.Text = "0 "
  1101. TextLabel6.TextColor = BrickColor.new("Institutional white")
  1102. TextLabel6.TextColor3 = Color3.new(1, 1, 1)
  1103. TextLabel6.TextScaled = true
  1104. TextLabel6.TextSize = 14
  1105. TextLabel6.TextWrap = true
  1106. TextLabel6.TextWrapped = true
  1107. TextLabel6.TextXAlignment = Enum.TextXAlignment.Right
  1108. Script7.Name = "tracker"
  1109. Script7.Parent = TextLabel6
  1110. table.insert(cors,sandbox(Script7,function()
  1111. local GUI = script.Parent
  1112. local player = script.Parent.Parent.Parent.Parent.Parent
  1113. local torso = player.Character.Torso
  1114. local speed = 0
  1115.  
  1116. while wait(0.1) do
  1117. speed = math.floor(math.sqrt((torso.Velocity.x^2)+(torso.Velocity.y^2)+(torso.Velocity.z^2)))
  1118. GUI.Text = speed/1.467
  1119.  
  1120. end
  1121.  
  1122. end))
  1123. TextLabel8.Name = "Bar"
  1124. TextLabel8.Parent = ImageLabel5
  1125. TextLabel8.Position = UDim2.new(-2.51219511, -170, 1.05383611, -2)
  1126. TextLabel8.Size = UDim2.new(0, 315, 0, 2)
  1127. TextLabel8.BackgroundColor = BrickColor.new("Institutional white")
  1128. TextLabel8.BackgroundColor3 = Color3.new(1, 1, 1)
  1129. TextLabel8.BorderSizePixel = 0
  1130. TextLabel8.Font = Enum.Font.SourceSansBold
  1131. TextLabel8.FontSize = Enum.FontSize.Size14
  1132. TextLabel8.Text = ""
  1133. TextLabel8.TextColor = BrickColor.new("Institutional white")
  1134. TextLabel8.TextColor3 = Color3.new(1, 1, 1)
  1135. TextLabel8.TextScaled = true
  1136. TextLabel8.TextSize = 14
  1137. TextLabel8.TextWrap = true
  1138. TextLabel8.TextWrapped = true
  1139. TextLabel8.TextXAlignment = Enum.TextXAlignment.Left
  1140. Script9.Name = "tracker"
  1141. Script9.Parent = TextLabel8
  1142. table.insert(cors,sandbox(Script9,function()
  1143. local GUI = script.Parent
  1144. local player = script.Parent.Parent.Parent.Parent.Parent
  1145. local torso = player.Character.Torso
  1146. local speed = 0
  1147.  
  1148. while wait(0.1) do
  1149. speed = math.floor(math.sqrt((torso.Velocity.x^2)+(torso.Velocity.y^2)+(torso.Velocity.z^2)))
  1150. GUI.Size = UDim2.new(0, speed/7.2,0, 2) ---speed bar
  1151. end
  1152.  
  1153. end))
  1154. TextLabel10.Name = "VersionTitle"
  1155. TextLabel10.Parent = ScreenGui4
  1156. TextLabel10.Position = UDim2.new(0.0702446699, 0, 0.0880195573, 0)
  1157. TextLabel10.Rotation = -2
  1158. TextLabel10.Size = UDim2.new(0, 253, 0, 30)
  1159. TextLabel10.BackgroundColor = BrickColor.new("Maroon")
  1160. TextLabel10.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  1161. TextLabel10.BackgroundTransparency = 0.20000000298023
  1162. TextLabel10.BorderSizePixel = 0
  1163. TextLabel10.Font = Enum.Font.SourceSansBold
  1164. TextLabel10.FontSize = Enum.FontSize.Size24
  1165. TextLabel10.Text = "Super Man script from bannaboy43"
  1166. TextLabel10.TextColor = BrickColor.new("Institutional white")
  1167. TextLabel10.TextColor3 = Color3.new(1, 1, 1)
  1168. TextLabel10.TextScaled = true
  1169. TextLabel10.TextSize = 21
  1170. TextLabel10.TextWrap = true
  1171. TextLabel10.TextWrapped = true
  1172. ImageLabel11.Name = "HealthStatus"
  1173. ImageLabel11.Parent = ScreenGui4
  1174. ImageLabel11.Position = UDim2.new(0, 100, 0.990394711, -100)
  1175. ImageLabel11.Rotation = -4
  1176. ImageLabel11.Size = UDim2.new(0, 44, 0, 38)
  1177. ImageLabel11.BackgroundColor = BrickColor.new("Maroon")
  1178. ImageLabel11.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  1179. ImageLabel11.BackgroundTransparency = 0.20000000298023
  1180. ImageLabel11.BorderSizePixel = 0
  1181. ImageLabel11.Image = "http://www.roblox.com/asset/?id=181035744"
  1182. TextLabel12.Name = "Health"
  1183. TextLabel12.Parent = ImageLabel11
  1184. TextLabel12.Position = UDim2.new(1.06818175, -1, -0.0797448158, 0)
  1185. TextLabel12.Size = UDim2.new(0, 293, 0, 39)
  1186. TextLabel12.BackgroundColor = BrickColor.new("Maroon")
  1187. TextLabel12.BackgroundColor3 = Color3.new(0.333333, 0, 0)
  1188. TextLabel12.BackgroundTransparency = 0.20000000298023
  1189. TextLabel12.BorderSizePixel = 0
  1190. TextLabel12.Font = Enum.Font.SourceSansBold
  1191. TextLabel12.FontSize = Enum.FontSize.Size14
  1192. TextLabel12.Text = " 100"
  1193. TextLabel12.TextColor = BrickColor.new("Institutional white")
  1194. TextLabel12.TextColor3 = Color3.new(1, 1, 1)
  1195. TextLabel12.TextScaled = true
  1196. TextLabel12.TextSize = 14
  1197. TextLabel12.TextWrap = true
  1198. TextLabel12.TextWrapped = true
  1199. TextLabel12.TextXAlignment = Enum.TextXAlignment.Left
  1200. Script13.Parent = TextLabel12
  1201. table.insert(cors,sandbox(Script13,function()
  1202. -- Made by Fireball2350 :3
  1203. -- Edited by bjj34 & XxrockatackxX
  1204. while true do
  1205. script.Parent.Text = "Health: " .. math.floor(script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health) .. "/" .. math.floor(script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.MaxHealth)
  1206. wait(0.1)
  1207. end
  1208.  
  1209. end))
  1210. ScreenGui14.Name = "Shadow"
  1211. ScreenGui14.Parent = mas
  1212. Frame15.Name = "Shadow"
  1213. Frame15.Parent = ScreenGui14
  1214. Frame15.Size = UDim2.new(1, 0, 1, 0)
  1215. Frame15.BackgroundTransparency = 1
  1216. Frame15.BorderSizePixel = 0
  1217. ImageLabel16.Name = "BLS"
  1218. ImageLabel16.Parent = Frame15
  1219. ImageLabel16.Position = UDim2.new(0, 0, 0.5, 0)
  1220. ImageLabel16.Size = UDim2.new(0.5, 0, 0.5, 0)
  1221. ImageLabel16.BackgroundTransparency = 1
  1222. ImageLabel16.BorderSizePixel = 0
  1223. ImageLabel16.Image = "http://www.roblox.com/asset/?id=84197255"
  1224. ImageLabel17.Name = "BRS"
  1225. ImageLabel17.Parent = Frame15
  1226. ImageLabel17.Position = UDim2.new(0.5, 0, 0.5, 0)
  1227. ImageLabel17.Size = UDim2.new(0.5, 0, 0.5, 0)
  1228. ImageLabel17.BackgroundTransparency = 1
  1229. ImageLabel17.BorderSizePixel = 0
  1230. ImageLabel17.Image = "http://www.roblox.com/asset/?id=84197271"
  1231. ImageLabel18.Name = "TLS"
  1232. ImageLabel18.Parent = Frame15
  1233. ImageLabel18.Position = UDim2.new(0, 0, 0, -1)
  1234. ImageLabel18.Size = UDim2.new(0.5, 0, 0.5, 1)
  1235. ImageLabel18.BackgroundTransparency = 1
  1236. ImageLabel18.BorderSizePixel = 0
  1237. ImageLabel18.Image = "http://www.roblox.com/asset/?id=84197205"
  1238. ImageLabel19.Name = "TRS"
  1239. ImageLabel19.Parent = Frame15
  1240. ImageLabel19.Position = UDim2.new(0.5, 0, 0, -1)
  1241. ImageLabel19.Size = UDim2.new(0.5, 0, 0.5, 1)
  1242. ImageLabel19.BackgroundTransparency = 1
  1243. ImageLabel19.BorderSizePixel = 0
  1244. ImageLabel19.Image = "http://www.roblox.com/asset/?id=84197228"
  1245. for i,v in pairs(mas:GetChildren()) do
  1246. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  1247. pcall(function() v:MakeJoints() end)
  1248. end
  1249. mas:Destroy()
  1250. for i,v in pairs(cors) do
  1251. spawn(function()
  1252. pcall(v)
  1253. end)
  1254. end
  1255.  
  1256.  
  1257. for i,v in pairs(cors) do
  1258. spawn(function()
  1259. pcall(v)
  1260. end)
  1261. end
  1262. local function round(n)
  1263. return math.floor(n + 0.5)
  1264. end
  1265.  
  1266.  
  1267. spawn(function()
  1268.  
  1269. end)
  1270. function KABOOMZ()
  1271.  
  1272. local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Institutional white")Sp.Material = "Neon" Sp.Size = Vector3.new(.5,.5,.5) Sp.Anchored = true Sp.CanCollide = false
  1273. local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshId = "rbxassetid://2589139171" Sp.CFrame = c.HumanoidRootPart.CFrame
  1274. local S = Instance.new("Sound",SPM)S.SoundId = "rbxassetid://2011915907" S.Volume = 10 S:Play()
  1275. for i = 1,200 do
  1276. SPM.Scale = SPM.Scale + Vector3.new(.7,.7,.7)
  1277. Sp.Transparency = Sp.Transparency + 1/200
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283. swait()
  1284. end
  1285. end
  1286.  
  1287.  
  1288. function sandbox(var,func)
  1289. local env = getfenv(func)
  1290. local newenv = setmetatable({},{
  1291. __index = function(self,k)
  1292. if k=="script" then
  1293. return var
  1294. else
  1295. return env[k]
  1296. end
  1297. end,
  1298. })
  1299. setfenv(func,newenv)
  1300. return func
  1301. end
  1302. cors = {}
  1303. mas = Instance.new("Model",game:GetService("Lighting"))
  1304. LocalScript0 = Instance.new("LocalScript")
  1305. Sound1 = Instance.new("Sound")
  1306. LocalScript2 = Instance.new("LocalScript")
  1307. ParticleEmitter3 = Instance.new("ParticleEmitter")
  1308. Animation4 = Instance.new("Animation")
  1309. LocalScript0.Name = "Rocket Boots"
  1310. LocalScript0.Parent = mas
  1311. table.insert(cors,sandbox(LocalScript0,function()
  1312. --Made by Luckymaxer
  1313. wait(1)
  1314. Player = game.Players.LocalPlayer
  1315. Character = Player.Character
  1316. Humanoid = Character:FindFirstChild("Humanoid")
  1317. Torso = Character:FindFirstChild("Torso")
  1318. Tool = script.Parent
  1319.  
  1320. Players = game:GetService("Players")
  1321. Debris = game:GetService("Debris")
  1322.  
  1323.  
  1324. Animations = {
  1325. Pose = {Animation = script:WaitForChild("Pose"), FadeTime = nil, Weight = nil, Speed = nil}
  1326. }
  1327.  
  1328. Flying = false
  1329.  
  1330. ServerControl = (script:FindFirstChild("ServerControl") or Instance.new("RemoteFunction"))
  1331. ServerControl.Name = "ServerControl"
  1332. ServerControl.Parent = script
  1333.  
  1334. ClientControl = (script:FindFirstChild("ClientControl") or Instance.new("RemoteFunction"))
  1335. ClientControl.Name = "ClientControl"
  1336. ClientControl.Parent = script
  1337.  
  1338.  
  1339. function GetTotalMass(Parent)
  1340. TotalMass = 0
  1341. function GetMass(Parent)
  1342. for i, v in pairs(Parent:GetChildren()) do
  1343. if v:IsA("BasePart") then
  1344. TotalMass = TotalMass + v:GetMass()
  1345. end
  1346. GetMass(v)
  1347. end
  1348. end
  1349. GetMass(Parent)
  1350. return TotalMass
  1351. end
  1352.  
  1353. function CheckIfAlive()
  1354. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
  1355. end
  1356.  
  1357.  
  1358. function OnServerInvoke(player, mode, value)
  1359. if player ~= Player or not CheckIfAlive() then
  1360. return
  1361. end
  1362. if mode == "Flying" and value then
  1363. local Mode = value.Flying
  1364. if Mode then
  1365. Flying = true
  1366. else
  1367. Flying = false
  1368. end
  1369. end
  1370. end
  1371.  
  1372. function InvokeClient(Mode, Value)
  1373. local ClientReturn = nil
  1374. pcall(function()
  1375. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  1376. end)
  1377. return ClientReturn
  1378. end
  1379.  
  1380. ServerControl.OnServerInvoke = OnServerInvoke
  1381. end))
  1382. Sound1.Name = "Wind"
  1383. Sound1.Parent = LocalScript0
  1384. Sound1.Looped = true
  1385. Sound1.EmitterSize = 0
  1386. Sound1.MinDistance = 0
  1387. Sound1.SoundId = "http://www.roblox.com/asset?id="
  1388. Sound1.Volume = 4
  1389. LocalScript2.Parent = LocalScript0
  1390. table.insert(cors,sandbox(LocalScript2,function()
  1391. --Made by Luckymaxer
  1392. wait(1)
  1393. function EquipWings()
  1394. lboot=Instance.new('Part')
  1395. lboot.Transparency=1
  1396. lboot.FormFactor=Enum.FormFactor.Custom
  1397. lboot.CanCollide=false
  1398. lboot.Size=Vector3.new(0,0,0)
  1399. lboot.CFrame=Character['Left Leg'].CFrame+Vector3.new(0,-1.2,0)
  1400.  
  1401.  
  1402. rboot=Instance.new('Part')
  1403. rboot.Transparency=1
  1404. rboot.FormFactor=Enum.FormFactor.Custom
  1405. rboot.CanCollide=false
  1406. rboot.Size=Vector3.new(0,0,0)
  1407. rboot.CFrame=Character['Right Leg'].CFrame+Vector3.new(0,-1.2,0)
  1408.  
  1409.  
  1410. larm=Instance.new('Part')
  1411. larm.Transparency=1
  1412. larm.FormFactor=Enum.FormFactor.Custom
  1413. larm.CanCollide=false
  1414. larm.Size=Vector3.new(0,0,0)
  1415. larm.CFrame=Character['Left Arm'].CFrame+Vector3.new(0,0,0)
  1416.  
  1417.  
  1418. rarm=Instance.new('Part')
  1419. rarm.Transparency=1
  1420. rarm.FormFactor=Enum.FormFactor.Custom
  1421. rarm.CanCollide=false
  1422. rarm.Size=Vector3.new(0,0,0)
  1423. rarm.CFrame=Character['Right Arm'].CFrame+Vector3.new(5,0,0)
  1424.  
  1425.  
  1426.  
  1427. BodyVelocity = Instance.new("BodyVelocity")
  1428. BodyVelocity.P = (10 ^ 4)
  1429. BodyVelocity.velocity = Vector3.new(0, 0, 0)
  1430. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  1431. BodyVelocity.Parent = Torso
  1432. BodyGyro = Instance.new("BodyGyro")
  1433. BodyGyro.P = (10 ^ 6)
  1434. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  1435. BodyGyro.cframe = Torso.CFrame
  1436. BodyGyro.Parent = Torso
  1437.  
  1438. InvokeClient("DisableJump")
  1439.  
  1440. end
  1441. Player = game.Players.LocalPlayer
  1442. Character = Player.Character
  1443. Humanoid = Character:FindFirstChild("Humanoid")
  1444. Torso = Character:FindFirstChild("Torso")
  1445.  
  1446. Tool = script.Parent
  1447.  
  1448. Players = game:GetService("Players")
  1449. Debris = game:GetService("Debris")
  1450. RunService = game:GetService("RunService")
  1451.  
  1452. Camera = game:GetService("Workspace").CurrentCamera
  1453.  
  1454. Animations = {}
  1455. LocalObjects = {}
  1456.  
  1457. Speed = {
  1458. CurrentSpeed = 20,
  1459. MaxSpeed = 250
  1460. }
  1461.  
  1462. Jumping = {
  1463. JumpTick = 0,
  1464. Jumps = 0,
  1465. JumpTime = 0.25,
  1466. JumpsRequired = 2
  1467. }
  1468.  
  1469. Controls = {
  1470. Forward = {Number = 0, Numbers = {On = -1, Off = 0}, Keys = {"W", 17}},
  1471. Backward = {Number = 0, Numbers = { On = 1, Off = 0}, Keys = {"S", 18}},
  1472. Left = {Number = 0, Numbers = {On = -1, Off = 0}, Keys = {"A", 20}},
  1473. Right = {Number = 0, Numbers = {On = 1, Off = 0}, Keys = {"D", 19}}
  1474. }
  1475.  
  1476. UsableAnimations = {
  1477. Pose = {Animation = Tool:WaitForChild("Pose"), FadeTime = nil, Weight = nil, Speed = nil},
  1478. }
  1479.  
  1480. Sounds = {
  1481. Wind = Tool:WaitForChild("Wind"),
  1482. }
  1483.  
  1484. FlyRate = (1 / 40)
  1485.  
  1486. Debounce = false
  1487. Flying = false
  1488.  
  1489. ServerControl = Tool:WaitForChild("ServerControl")
  1490. ClientControl = Tool:WaitForChild("ClientControl")
  1491.  
  1492. function InvokeClient(Mode, Value)
  1493. local ClientReturn = nil
  1494. pcall(function()
  1495. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  1496. end)
  1497. return ClientReturn
  1498. end
  1499. function SetAnimation(Mode, Value)
  1500. if Mode == "PlayAnimation" and Value and Humanoid then
  1501. for i, v in pairs(Animations) do
  1502. if v.Animation == Value.Animation then
  1503. v.AnimationTrack:Stop()
  1504. table.remove(Animations, i)
  1505. end
  1506. end
  1507. local AnimationTrack = Humanoid:LoadAnimation(Value.Animation)
  1508. table.insert(Animations, {Animation = Value.Animation, AnimationTrack = AnimationTrack})
  1509. AnimationTrack:Play(Value.FadeTime, Value.Weight, Value.Speed)
  1510. elseif Mode == "StopAnimation" and Value then
  1511. for i, v in pairs(Animations) do
  1512. if v.Animation == Value.Animation then
  1513. v.AnimationTrack:Stop()
  1514. table.remove(Animations, i)
  1515. end
  1516. end
  1517. end
  1518. end
  1519.  
  1520. function DisableJump(Boolean)
  1521. if PreventJump then
  1522. PreventJump:disconnect()
  1523. end
  1524. if Boolean then
  1525. PreventJump = Humanoid.Changed:connect(function(Property)
  1526. if Property == "Jump" then
  1527. Humanoid.Jump = false
  1528. end
  1529. end)
  1530. end
  1531. end
  1532.  
  1533. function Clamp(Number, Min, Max)
  1534. return math.max(math.min(Max, Number), Min)
  1535. end
  1536.  
  1537. function Fly()
  1538. if Flying and Player and Torso and Humanoid and Humanoid.Health > 0 then
  1539. local Momentum = Vector3.new(0, 0, 0)
  1540. local LastMomentum = Vector3.new(0, 0, 0)
  1541. local LastTilt = 0
  1542. local LastFlap = 0
  1543. local CurrentSpeed = Speed.MaxSpeed
  1544. local Inertia = (1 - (Speed.CurrentSpeed / CurrentSpeed))
  1545.  
  1546. Momentum = (Torso.Velocity + (Torso.CFrame.lookVector * 3) + Vector3.new(0, 10, 0))
  1547. Momentum = Vector3.new(Clamp(Momentum.X, -15, 15), Clamp(Momentum.Y, -15, 15), Clamp(Momentum.Z, -15, 15))
  1548.  
  1549. BodyVelocity.maxForce = Vector3.new(1, 1, 1) * (10 ^ 6)
  1550.  
  1551. BodyGyro.maxTorque = Vector3.new(BodyGyro.P, BodyGyro.P, BodyGyro.P)
  1552. BodyGyro.cframe = Torso.CFrame
  1553.  
  1554. Spawn(function()
  1555. InvokeServer("Flying", {Flying = true})
  1556. end)
  1557.  
  1558. SetAnimation("PlayAnimation", UsableAnimations.Pose)
  1559.  
  1560. Humanoid.AutoRotate = false
  1561.  
  1562. while Flying and Torso and Humanoid and Humanoid.Health > 0 do
  1563.  
  1564. if CurrentSpeed ~= Speed.MaxSpeed then
  1565. CurrentSpeed = Speed.MaxSpeed
  1566. Inertia = (1 - (Speed.CurrentSpeed / CurrentSpeed))
  1567. end
  1568.  
  1569. local Direction = Camera.CoordinateFrame:vectorToWorldSpace(Vector3.new(Controls.Left.Number + Controls.Right.Number, math.abs(Controls.Forward.Number) * 0.2, Controls.Forward.Number + Controls.Backward.Number))
  1570. local Movement = Direction * Speed.CurrentSpeed
  1571.  
  1572. Momentum = (Momentum * Inertia) + Movement
  1573.  
  1574. local TotalMomentum = Momentum.magnitude
  1575.  
  1576. if TotalMomentum > CurrentSpeed then
  1577. TotalMomentum = CurrentSpeed
  1578. end
  1579.  
  1580. local Tilt = ((Momentum * Vector3.new(1, 0, 1)).unit:Cross(((LastMomentum * Vector3.new(1, 0, 1)).unit))).y
  1581. local StringTilt = tostring(Tilt)
  1582.  
  1583. if StringTilt == "-1.#IND" or StringTilt == "1.#IND" or Tilt == math.huge or Tilt == -math.huge or StringTilt == tostring(0 / 0) then
  1584. Tilt = 0
  1585. end
  1586.  
  1587. local AbsoluteTilt = math.abs(Tilt)
  1588.  
  1589. if AbsoluteTilt > 0.1 or AbsoluteTilt < 0.09 then
  1590. if math.abs(LastTilt) > 0.0001 then
  1591. Tilt = (LastTilt * 0.9)
  1592. else
  1593. Tilt = 0
  1594. end
  1595. else
  1596. Tilt = ((LastTilt * 0.77) + (Tilt * 0.25))
  1597. end
  1598.  
  1599. LastTilt = Tilt
  1600.  
  1601. if TotalMomentum < 0.5 then
  1602. Momentum = Vector3.new(0, 0, 0)
  1603. TotalMomentum = 0
  1604. BodyGyro.cframe = Camera.CoordinateFrame
  1605. else
  1606. BodyGyro.cframe = CFrame.new(Vector3.new(0, 0, 0), Momentum) * CFrame.Angles(0, 0, (Tilt * -20)) * CFrame.Angles((math.pi * -0.5 * (TotalMomentum / CurrentSpeed)), 0, 0)
  1607. end
  1608.  
  1609. local GravityDelta = ((((Momentum * Vector3.new(0, 1, 0)) - Vector3.new(0, -Speed.MaxSpeed, 0)).magnitude / Speed.MaxSpeed) * 0.5)
  1610. if GravityDelta > 0.45 and tick() > LastFlap then
  1611. LastFlap = (tick() + 0.5)
  1612. Spawn(function()
  1613. if not Flying then
  1614. return
  1615. end
  1616. if not Sounds.Wind.IsPlaying then
  1617. Sounds.Wind:Play()
  1618. end
  1619. wait(0.25)
  1620. end)
  1621. elseif GravityDelta <= 0.45 then
  1622. Sounds.Wind:Stop()
  1623. end
  1624.  
  1625. BodyVelocity.velocity = Momentum
  1626. LastMomentum = Momentum
  1627.  
  1628. wait(FlyRate)
  1629.  
  1630. end
  1631.  
  1632. Sounds.Wind:Stop()
  1633.  
  1634. Spawn(function()
  1635. InvokeServer("Flying", {Flying = false})
  1636. end)
  1637.  
  1638. SetAnimation("StopAnimation", UsableAnimations.Pose)
  1639.  
  1640. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  1641. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  1642.  
  1643. if CheckIfAlive() then
  1644. Humanoid.AutoRotate = true
  1645. Humanoid:ChangeState(Enum.HumanoidStateType.Freefall)
  1646. end
  1647.  
  1648. end
  1649. end
  1650.  
  1651. function StopFlying()
  1652. Flying = false
  1653. BodyVelocity.maxForce = Vector3.new(0, 0, 0)
  1654. BodyGyro.maxTorque = Vector3.new(0, 0, 0)
  1655. end
  1656.  
  1657. function CheckIfAlive()
  1658. return (((Character and Character.Parent and Humanoid and Humanoid.Parent and Humanoid.Health > 0 and Torso and Torso.Parent and Player and Player.Parent) and true) or false)
  1659. end
  1660.  
  1661. if not CheckIfAlive() then
  1662. return
  1663. end
  1664. PlayerMouse = Player:GetMouse()
  1665. PlayerMouse.Button1Down:connect(function()
  1666. InvokeServer("MouseClick", {Down = true})
  1667. end)
  1668. PlayerMouse.Button1Up:connect(function()
  1669. InvokeServer("MouseClick", {Down = false})
  1670. end)
  1671. PlayerMouse.KeyDown:connect(function(Key)
  1672. local Key = string.lower(Key)
  1673. local ByteKey = string.byte(Key)
  1674. if ByteKey == string.byte(" ") and not Debounce then
  1675. if Flying then
  1676. StopFlying()
  1677. for i, v in pairs({BodyVelocity, BodyGyro, lboot, rboot, larm, rarm}) do
  1678. if v and v.Parent then
  1679. v:Destroy()
  1680. end
  1681. end
  1682. elseif not Flying then
  1683. if (tick() - Jumping.JumpTick) <= Jumping.JumpTime or Jumping.JumpTick == 0 then
  1684. Jumping.JumpTick = tick()
  1685. Jumping.Jumps = Jumping.Jumps + 1
  1686. if Jumping.Jumps >= Jumping.JumpsRequired then
  1687. Debounce = true
  1688. Jumping.JumpTick = 0
  1689. Jumping.Jumps = 0
  1690. Flying = true
  1691. Spawn(EquipWings)
  1692. Spawn(Fly)
  1693. Debounce = false
  1694. end
  1695. else
  1696. Jumping.JumpTick = tick()
  1697. Jumping.Jumps = 1
  1698. end
  1699. end
  1700. end
  1701. for i, v in pairs(Controls) do
  1702. for ii, vv in pairs(v.Keys) do
  1703. v.Number = ((((string.lower(type(vv)) == string.lower("String") and Key == string.lower(vv)) or (string.lower(type(vv)) == string.lower("Number") and ByteKey == vv)) and v.Numbers.On) or v.Number)
  1704. end
  1705. end
  1706. end)
  1707. PlayerMouse.KeyUp:connect(function(Key)
  1708. local Key = string.lower(Key)
  1709. local ByteKey = string.byte(Key)
  1710. for i, v in pairs(Controls) do
  1711. for ii, vv in pairs(v.Keys) do
  1712. v.Number = ((((string.lower(type(vv)) == string.lower("String") and Key == string.lower(vv)) or (string.lower(type(vv)) == string.lower("Number") and ByteKey == vv)) and v.Numbers.Off) or v.Number)
  1713. end
  1714. end
  1715. end)
  1716. while not BodyVelocity or not BodyVelocity.Parent or not BodyGyro or not BodyGyro.Parent and CheckIfAlive() do
  1717. BodyVelocity = Torso:FindFirstChild("BodyVelocity")
  1718. BodyGyro = Torso:FindFirstChild("BodyGyro")
  1719. RunService.Stepped:wait()
  1720. end
  1721.  
  1722. function InvokeServer(Mode, Value)
  1723. pcall(function()
  1724. local ServerReturn = ServerControl:InvokeServer(Mode, Value)
  1725. return ServerReturn
  1726. end)
  1727. end
  1728.  
  1729. function OnClientInvoke(Mode, Value)
  1730. if Mode == "PlayAnimation" and Value and Humanoid then
  1731. SetAnimation("PlayAnimation", Value)
  1732. elseif Mode == "StopAnimation" and Value then
  1733. SetAnimation("StopAnimation", Value)
  1734. elseif Mode == "PlaySound" and Value then
  1735. Value:Play()
  1736. elseif Mode == "StopSound" and Value then
  1737. Value:Stop()
  1738. elseif Mode == "MousePosition" then
  1739. return PlayerMouse.Hit.p
  1740. elseif Mode == "DisableJump" then
  1741. DisableJump(Value)
  1742. elseif Mode == "Fly" and not Flying then
  1743. Flying = true
  1744. Spawn(function()
  1745. Fly()
  1746. end)
  1747. end
  1748. end
  1749.  
  1750. function InvokeClient(Mode, Value)
  1751. local ClientReturn = nil
  1752. pcall(function()
  1753. ClientReturn = ClientControl:InvokeClient(Player, Mode, Value)
  1754. end)
  1755. return ClientReturn
  1756. end
  1757. ClientControl.OnClientInvoke = OnClientInvoke
  1758. end))
  1759. ParticleEmitter3.Name = "Fire"
  1760. ParticleEmitter3.Parent = LocalScript2
  1761. ParticleEmitter3.Speed = NumberRange.new(-5, -5)
  1762. ParticleEmitter3.Color = ColorSequence.new(Color3.new(0.992157, 1, 0.67451),Color3.new(1, 0.658824, 0.321569))
  1763. ParticleEmitter3.LightEmission = 4
  1764. ParticleEmitter3.Texture = "http://www.roblox.com/asset/?id=48229939"
  1765. ParticleEmitter3.Transparency = NumberSequence.new(0.44374999403954,0.89375001192093,0.91874998807907,1)
  1766. ParticleEmitter3.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  1767. ParticleEmitter3.Lifetime = NumberRange.new(0.30000001192093, 0.30000001192093)
  1768. ParticleEmitter3.LockedToPart = true
  1769. ParticleEmitter3.Rate = 45645648
  1770. Animation4.Name = "Pose"
  1771. Animation4.Parent = LocalScript0
  1772. Animation4.AnimationId = "http://www.roblox.com/Asset?ID=97172005"
  1773. for i,v in pairs(mas:GetChildren()) do
  1774. v.Parent = game:GetService("Players").LocalPlayer.Character
  1775. pcall(function() v:MakeJoints() end)
  1776. end
  1777. mas:Destroy()
  1778. for i,v in pairs(cors) do
  1779. spawn(function()
  1780. pcall(v)
  1781. end)
  1782. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement