Advertisement
PixelDerpIsUber2

Untitled

Apr 9th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.50 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6. repeat wait()
  7.  
  8. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character
  9.  
  10.  
  11. --- MADE BY OOKYAMA, GIVE CREDIT! :)
  12.  
  13. local num = 0
  14. local p = game.Players.LocalPlayer
  15. local char = p.Character
  16. local rad = math.rad
  17. local hum = char.Humanoid
  18.  
  19. local EM = Enum.Material
  20. local CF = CFrame
  21. local V3 = Vector3
  22. local Ins = Instance
  23. local Col = Color3
  24. local UD = UDim
  25. local UD2 = UDim2
  26. local mr = math.rad
  27. local mra = math.random
  28. local mh = math.huge
  29.  
  30. for _, p in pairs(char:GetChildren()) do
  31. if p:IsA("Accessory")or p:IsA("Shirt") or p:IsA("Pants") then
  32. p:Destroy()
  33. end
  34. end
  35. local BC = char["Body Colors"]
  36. BC.HeadColor = BrickColor.new("Bright yellow")
  37. BC.RightArmColor = BrickColor.new("Bright yellow")
  38. BC.LeftArmColor = BrickColor.new("Bright yellow")
  39. BC.RightLegColor = BrickColor.new("Br. yellowish green")
  40. BC.LeftLegColor = BrickColor.new("Br. yellowish green")
  41. BC.TorsoColor = BrickColor.new("Bright blue")
  42.  
  43. char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
  44.  
  45. human = char.Humanoid
  46. hrp = char.HumanoidRootPart
  47. anim = human.Animator
  48.  
  49.  
  50. -- HAIR
  51.  
  52.  
  53.  
  54.  
  55. local txt2 = Instance.new("BillboardGui", char)
  56. txt2.Adornee = char.Head
  57. txt2.Name = "_status2"
  58. txt2.Size = UDim2.new(2, 0, 1.2, 0)
  59. txt2.StudsOffset = Vector3.new(-14, 3, 0)
  60. local text2 = Instance.new("TextLabel", txt2)
  61. text2.Size = UDim2.new(15, 0,2, 0)
  62. text2.FontSize = "Size24"
  63. text2.TextScaled = true
  64. text2.TextTransparency = 0
  65. text2.BackgroundTransparency = 1
  66. text2.TextTransparency = 0
  67. text2.TextStrokeTransparency = 0
  68. text2.Font = Enum.Font.SciFi
  69. text2.TextStrokeColor3 = Color3.new(0,0,0)
  70. text2.TextColor3 = Color3.fromRGB(14, 83, 148)
  71. text2.Text = "Nooby "..p.Name
  72. v2=Instance.new("Part")
  73. v2.Name = "ColorBrick"
  74. v2.Parent= char
  75. v2.FormFactor="Symmetric"
  76. v2.Anchored=true
  77. v2.CanCollide=false
  78. v2.BottomSurface="Smooth"
  79. v2.TopSurface="Smooth"
  80. v2.Size=Vector3.new(10,5,3)
  81. v2.Transparency=1
  82. v2.CFrame=char.HumanoidRootPart.CFrame
  83. v2.BrickColor=BrickColor.new("Lime green")
  84. v2.Transparency=1
  85. v2.Shape="Block"
  86.  
  87.  
  88.  
  89. coroutine.resume(coroutine.create(function()
  90. while wait() do
  91. for i = 1,50 do
  92. wait()
  93. text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(85, 103, 34), 0.05)
  94. end
  95. for i = 1,50 do
  96. wait()
  97. text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(14, 83, 148), 0.05)
  98. end
  99. for i = 1,50 do
  100. wait()
  101. text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(245, 205, 48), 0.05)
  102. end
  103.  
  104. end
  105. end))
  106.  
  107.  
  108.  
  109.  
  110.  
  111. local Mode = "Noob"
  112.  
  113.  
  114.  
  115.  
  116. coroutine.resume(coroutine.create(function()
  117. while wait() do
  118. if char:FindFirstChild("Eye1") ~= nil then
  119. local Eye1 = char:FindFirstChild("Eye1").Mesh.Scale
  120. local Eye2 = char:FindFirstChild("Eye2").Mesh.Scale
  121.  
  122. for i = 1, 10 do
  123. wait()
  124. Eye1 = Eye1:lerp(Vector3.new(1, 0.1, 1), 0.5)
  125. Eye2 = Eye2:lerp(Vector3.new(1, 0.1, 1), 0.5)
  126. end
  127. for i = 1, 10 do
  128. wait()
  129. Eye1 = Eye1:lerp(Vector3.new(1, 1, 1), 0.5)
  130. Eye2 = Eye2:lerp(Vector3.new(1, 1, 1), 0.5)
  131. end
  132. wait(2)
  133. end
  134. end
  135. end))
  136.  
  137.  
  138.  
  139. local namee = "Nooby "..p.Name
  140. local chatDB = false
  141.  
  142. function chatfunc(msg)
  143. coroutine.resume(coroutine.create(function()
  144. if not chatDB then
  145. chatDB = true
  146. for i = 1,#msg do
  147. wait()
  148. text2.Text = string.sub(msg, 1, i)
  149. end
  150. wait(2)
  151. if Mode == "Guest" then
  152. namee = "Guesty "..p.Name
  153. elseif Mode == "Guest666" then
  154. namee = "The Awakened "..p.Name
  155. end
  156. for i = 1,#namee do
  157. wait()
  158. text2.Text = string.sub(namee, 1, i)
  159. end
  160. chatDB = false -- So you can use right after it is done.
  161. end
  162. end))
  163. end
  164.  
  165.  
  166.  
  167. local Theme = Instance.new("Sound", char)
  168. Theme.Looped = true
  169. Theme.SoundId = "rbxassetid://265241849"
  170. Theme:Play()
  171.  
  172. local clerp = function(a, b, t)
  173. return a:lerp(b, t)
  174. end
  175.  
  176. -------------------------------------
  177. local Head = char.Head
  178. local RArm = char["Right Arm"]
  179. local LArm = char["Left Arm"]
  180. local Torso = char.Torso
  181. local LLeg = char["Left Leg"]
  182. local RLeg = char["Right Leg"]
  183. -------------------------------------
  184.  
  185. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  186. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  187. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  188. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  189. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  190. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  191. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  192. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  193. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  194. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  195. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  196. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  197. RS = Torso:FindFirstChild("Right Shoulder")
  198. LS = Torso:FindFirstChild("Left Shoulder")
  199. RH = Torso:FindFirstChild("Right Hip")
  200. LH = Torso:FindFirstChild("Left Hip")
  201. RJ = hrp:FindFirstChild("RootJoint")
  202. NK = Torso:FindFirstChild("Neck")
  203. local RunS = game:GetService("RunService")
  204. local Mouse = p:GetMouse()
  205. local animen = true
  206. local Player = game.Players.localPlayer
  207. local Character = Player.Character
  208. local Humanoid = Character.Humanoid
  209. local LeftArm = Character["Left Arm"]
  210. local RightArm = Character["Right Arm"]
  211. local LeftLeg = Character["Left Leg"]
  212. local RightLeg = Character["Right Leg"]
  213. local Head = Character.Head
  214. local Torso = Character.Torso
  215. local Camera = game.Workspace.CurrentCamera
  216. local RootPart = Character.HumanoidRootPart
  217. local RootJoint = RootPart.RootJoint
  218. local Pause = false
  219. local attack = false
  220. local LOL = false
  221. local Anim = 'Idle'
  222. local attacktype = 1
  223. local delays = false
  224. local play = true
  225. local targetted = nil
  226. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  227. local velocity = RootPart.Velocity.y
  228. local sine = 0
  229. local change = 1
  230. local doe = 0
  231. local Create = LoadLibrary("RbxUtility").Create
  232. Humanoid.WalkSpeed = 80
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239. local TrailSoundStart = Instance.new("Sound", char)
  240. TrailSoundStart.Looped = false
  241. TrailSoundStart.Volume = 0.4
  242. TrailSoundStart.SoundId = "rbxassetid://905876599"
  243.  
  244. local TrailSound = Instance.new("Sound", char)
  245. TrailSound.Looped = true
  246. TrailSound.Volume = 0.4
  247. TrailSound.SoundId = "rbxassetid://379557765"
  248.  
  249. local StepSound = Instance.new("Sound", char)
  250. StepSound.Looped = false
  251. StepSound.Volume = 0.7
  252. StepSound.SoundId = "rbxassetid://289556450"
  253.  
  254. local TransformationSound = Instance.new("Sound", char)
  255. TransformationSound.Looped = false
  256. TransformationSound.Volume = 0.5
  257. TransformationSound.SoundId = "rbxassetid://165969964"
  258.  
  259. local ShadowTravel = Instance.new("Sound", char)
  260. ShadowTravel.Looped = true
  261. ShadowTravel.Volume = 1
  262. ShadowTravel.SoundId = "rbxassetid://362395087"
  263.  
  264. local NeckSnap = Instance.new("Sound", char)
  265. NeckSnap.Looped = false
  266. NeckSnap.Volume = 1
  267. NeckSnap.SoundId = "rbxassetid://198606040"
  268.  
  269.  
  270.  
  271.  
  272.  
  273. function findNearestTorso(pos)
  274. local list = game.Workspace:children()
  275. local torso = nil
  276. local dist = 150
  277. local temp = nil
  278. local human = nil
  279. local temp2 = nil
  280. for x = 1, #list do
  281. temp2 = list[x]
  282. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  283. temp = temp2:findFirstChild("HumanoidRootPart")
  284. human = temp2:findFirstChildOfClass("Humanoid")
  285. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  286. if (temp.Position - pos).magnitude < dist then
  287. torso = temp
  288. dist = (temp.Position - pos).magnitude
  289. end
  290. end
  291. end
  292. end
  293. return torso.Parent.Name
  294. end
  295.  
  296.  
  297.  
  298.  
  299. function findNearestTorso2(pos)
  300. local list = game.Workspace:children()
  301. local torso = nil
  302. local dist = 150
  303. local temp = nil
  304. local human = nil
  305. local temp2 = nil
  306. for x = 1, #list do
  307. temp2 = list[x]
  308. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  309. temp = temp2:findFirstChild("HumanoidRootPart")
  310. human = temp2:findFirstChildOfClass("Humanoid")
  311. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  312. if (temp.Position - pos).magnitude < dist then
  313. torso = temp
  314. dist = (temp.Position - pos).magnitude
  315. end
  316. end
  317. end
  318. end
  319. return torso
  320. end
  321.  
  322.  
  323. function NoobStep()
  324. StepSound:Play()
  325. if Mode == "Guest" then
  326. chatfunc("GUEST STEP!!11!1!")
  327. elseif Mode == "Noob" then
  328. chatfunc("NOOB STEP!!111!!")
  329. end
  330. local NeonTorsopls = Torso:Clone()
  331. local Arm1 = RightArm:Clone()
  332. local Arm2 = LeftArm:Clone()
  333. local Head1 = Head:Clone()
  334. local Leg1 = RightLeg:Clone()
  335. local Leg2 = LeftLeg:Clone()
  336.  
  337. Head1.Name = "Headdd"
  338. Arm1.Name = "Armmm1"
  339. Arm2.Name = "Armmm2"
  340. NeonTorsopls.Name = "Torsooo"
  341. Leg1.Name = "Leggg1"
  342. Leg2.Name = "Leggg2"
  343.  
  344. NeonTorsopls.Parent = char
  345. Arm1.Parent = char
  346. Arm2.Parent = char
  347. Head1.Parent = char
  348. Leg1.Parent = char
  349. Leg2.Parent = char
  350. Head1:ClearAllChildren()
  351. Arm1:ClearAllChildren()
  352. Leg1:ClearAllChildren()
  353. Leg2:ClearAllChildren()
  354. NeonTorsopls:ClearAllChildren()
  355. Arm2:ClearAllChildren()
  356.  
  357. NeonTorsopls.CFrame = Torso.CFrame
  358. Arm1.CFrame = RightArm.CFrame
  359. Arm2.CFrame = LeftArm.CFrame
  360. Head1.CFrame = Head.CFrame
  361. Leg1.CFrame = RightLeg.CFrame
  362. Leg2.CFrame = LeftLeg.CFrame
  363.  
  364. Leg1.Material = "Neon"
  365. Arm1.Material = "Neon"
  366. Arm2.Material = "Neon"
  367. Leg2.Material = "Neon"
  368. NeonTorsopls.Material = "Neon"
  369. Head1.Material = "Neon"
  370.  
  371. Head1.Anchored = true
  372. NeonTorsopls.Anchored = true
  373. Arm1.Anchored = true
  374. Arm2.Anchored = true
  375. Leg1.Anchored = true
  376. Leg2.Anchored = true
  377.  
  378. Leg2.CanCollide = false
  379. Leg1.CanCollide = false
  380. Head1.CanCollide = false
  381. NeonTorsopls.CanCollide = false
  382. Arm1.CanCollide = false
  383. Arm2.CanCollide = false
  384.  
  385.  
  386. coroutine.resume(coroutine.create(function()
  387. for i = 1,300 do
  388. game:GetService("RunService").RenderStepped:wait()
  389. Arm1.Transparency = Arm1.Transparency + 0.01
  390. Arm2.Transparency = Arm2.Transparency + 0.01
  391. Head1.Transparency = Head1.Transparency + 0.01
  392. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
  393. Leg1.Transparency = Leg1.Transparency + 0.01
  394. Leg2.Transparency = Leg2.Transparency + 0.01
  395. if Head1.Transparency >= 1 then
  396. Leg1:Destroy()
  397. Leg2:Destroy()
  398. Head1:Destroy()
  399. Arm1:Destroy()
  400. Arm2:Destroy()
  401. NeonTorsopls:Destroy()
  402. end
  403. end
  404. end))
  405.  
  406. Torso.CFrame = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y, Mouse.Hit.Z)
  407. end
  408.  
  409.  
  410. local TrailEnabled = false
  411.  
  412. function EnableTrail()
  413. if Mode == "Noob" or Mode == "Guest" then
  414. TrailSoundStart:Play()
  415. chatfunc("Be Confuuse!!111!!")
  416. TrailSound:Play()
  417. while wait() and TrailEnabled == true do
  418. local NeonTorsopls = Torso:Clone()
  419. local Arm1 = RightArm:Clone()
  420. local Arm2 = LeftArm:Clone()
  421. local Head1 = Head:Clone()
  422. local Leg1 = RightLeg:Clone()
  423. local Leg2 = LeftLeg:Clone()
  424.  
  425. Head1.Name = "Headdd"
  426. Arm1.Name = "Armmm1"
  427. Arm2.Name = "Armmm2"
  428. NeonTorsopls.Name = "Torsooo"
  429. Leg1.Name = "Leggg1"
  430. Leg2.Name = "Leggg2"
  431.  
  432. NeonTorsopls.Parent = char
  433. Arm1.Parent = char
  434. Arm2.Parent = char
  435. Head1.Parent = char
  436. Leg1.Parent = char
  437. Leg2.Parent = char
  438. Head1:ClearAllChildren()
  439. Arm1:ClearAllChildren()
  440. Leg1:ClearAllChildren()
  441. Leg2:ClearAllChildren()
  442. NeonTorsopls:ClearAllChildren()
  443. Arm2:ClearAllChildren()
  444.  
  445. NeonTorsopls.CFrame = Torso.CFrame
  446. Arm1.CFrame = RightArm.CFrame
  447. Arm2.CFrame = LeftArm.CFrame
  448. Head1.CFrame = Head.CFrame
  449. Leg1.CFrame = RightLeg.CFrame
  450. Leg2.CFrame = LeftLeg.CFrame
  451.  
  452. Leg1.Material = "Neon"
  453. Arm1.Material = "Neon"
  454. Arm2.Material = "Neon"
  455. Leg2.Material = "Neon"
  456. NeonTorsopls.Material = "Neon"
  457. Head1.Material = "Neon"
  458.  
  459. Head1.Anchored = true
  460. NeonTorsopls.Anchored = true
  461. Arm1.Anchored = true
  462. Arm2.Anchored = true
  463. Leg1.Anchored = true
  464. Leg2.Anchored = true
  465.  
  466. Leg2.CanCollide = false
  467. Leg1.CanCollide = false
  468. Head1.CanCollide = false
  469. NeonTorsopls.CanCollide = false
  470. Arm1.CanCollide = false
  471. Arm2.CanCollide = false
  472.  
  473. coroutine.resume(coroutine.create(function()
  474. for i = 1,300 do
  475. game:GetService("RunService").RenderStepped:wait()
  476. Arm1.Transparency = Arm1.Transparency + 0.01
  477. Arm2.Transparency = Arm2.Transparency + 0.01
  478. Head1.Transparency = Head1.Transparency + 0.01
  479. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
  480. Leg1.Transparency = Leg1.Transparency + 0.01
  481. Leg2.Transparency = Leg2.Transparency + 0.01
  482. if Head1.Transparency >= 1 then
  483. Leg1:Destroy()
  484. Leg2:Destroy()
  485. Head1:Destroy()
  486. Arm1:Destroy()
  487. Arm2:Destroy()
  488. NeonTorsopls:Destroy()
  489. end
  490. end
  491. end))
  492. end
  493.  
  494. elseif Mode == "Guest666" then
  495. chatfunc("Shadow Travel...")
  496. ShadowTravel:Play()
  497. while wait() and TrailEnabled == true do
  498. local NeonTorsopls = Torso:Clone()
  499. local Arm1 = RightArm:Clone()
  500. local Arm2 = LeftArm:Clone()
  501. local Head1 = Head:Clone()
  502. local Leg1 = RightLeg:Clone()
  503. local Leg2 = LeftLeg:Clone()
  504.  
  505. Head1.Name = "Headdd"
  506. Arm1.Name = "Armmm1"
  507. Arm2.Name = "Armmm2"
  508. NeonTorsopls.Name = "Torsooo"
  509. Leg1.Name = "Leggg1"
  510. Leg2.Name = "Leggg2"
  511.  
  512. NeonTorsopls.Parent = char
  513. Arm1.Parent = char
  514. Arm2.Parent = char
  515. Head1.Parent = char
  516. Leg1.Parent = char
  517. Leg2.Parent = char
  518. Head1:ClearAllChildren()
  519. Arm1:ClearAllChildren()
  520. Leg1:ClearAllChildren()
  521. Leg2:ClearAllChildren()
  522. NeonTorsopls:ClearAllChildren()
  523. Arm2:ClearAllChildren()
  524.  
  525. NeonTorsopls.CFrame = Torso.CFrame
  526. Arm1.CFrame = RightArm.CFrame
  527. Arm2.CFrame = LeftArm.CFrame
  528. Head1.CFrame = Head.CFrame
  529. Leg1.CFrame = RightLeg.CFrame
  530. Leg2.CFrame = LeftLeg.CFrame
  531.  
  532. Leg1.Material = "Neon"
  533. Arm1.Material = "Neon"
  534. Arm2.Material = "Neon"
  535. Leg2.Material = "Neon"
  536. NeonTorsopls.Material = "Neon"
  537. Head1.Material = "Neon"
  538.  
  539. Head1.Anchored = true
  540. NeonTorsopls.Anchored = true
  541. Arm1.Anchored = true
  542. Arm2.Anchored = true
  543. Leg1.Anchored = true
  544. Leg2.Anchored = true
  545.  
  546. Leg2.CanCollide = false
  547. Leg1.CanCollide = false
  548. Head1.CanCollide = false
  549. NeonTorsopls.CanCollide = false
  550. Arm1.CanCollide = false
  551. Arm2.CanCollide = false
  552.  
  553. coroutine.resume(coroutine.create(function()
  554. for i = 1,300 do
  555. game:GetService("RunService").RenderStepped:wait()
  556. Arm1.Transparency = Arm1.Transparency + 0.1
  557. Arm2.Transparency = Arm2.Transparency + 0.1
  558. Head1.Transparency = Head1.Transparency + 0.1
  559. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.1
  560. Leg1.Transparency = Leg1.Transparency + 0.1
  561. Leg2.Transparency = Leg2.Transparency + 0.1
  562. if Head1.Transparency >= 1 then
  563. Leg1:Destroy()
  564. Leg2:Destroy()
  565. Head1:Destroy()
  566. Arm1:Destroy()
  567. Arm2:Destroy()
  568. NeonTorsopls:Destroy()
  569. end
  570. end
  571. end))
  572. end
  573.  
  574.  
  575.  
  576.  
  577. end
  578. end
  579.  
  580. AnimEnabled = true
  581.  
  582. Mouse.KeyDown:Connect(function(k)
  583. if k == "9" then
  584. chatfunc("Wow The Clouds In The Scy Are Buutiful Toniyt.")
  585.  
  586. elseif k == "8" then
  587. chatfunc("PLS NO!11!!")
  588.  
  589. elseif k == "7" then
  590. chatfunc(findNearestTorso(char.HumanoidRootPart.Position).." Be My Frien Pls!11!!!1")
  591.  
  592. elseif k == "6" then
  593. chatfunc("Hi "..findNearestTorso(char.HumanoidRootPart.Position))
  594.  
  595. elseif k == "5" then
  596. chatfunc("Do N0t Make Me Ki11 U!111!!!!")
  597.  
  598. elseif k == "4" then
  599. chatfunc("I Will Straighten U Out!!111!1")
  600.  
  601. elseif k == "e" then
  602. NoobStep()
  603.  
  604. elseif k == "q" then
  605. if TrailEnabled == false then
  606. TrailEnabled = true
  607. char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 20
  608. EnableTrail()
  609.  
  610. elseif TrailEnabled == true then
  611. TrailSound:Stop()
  612. ShadowTravel:Stop()
  613. TrailEnabled = false
  614. char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 20
  615. end
  616.  
  617. end
  618. end)
  619.  
  620.  
  621.  
  622. Humanoid.Animator.Parent = nil
  623. Character.Animate.Parent = nil
  624.  
  625.  
  626.  
  627. local newMotor = function(part0, part1, c0, c1)
  628. local w = Create('Motor'){
  629. Parent = part0,
  630. Part0 = part0,
  631. Part1 = part1,
  632. C0 = c0,
  633. C1 = c1,
  634. }
  635. return w
  636. end
  637. function clerp(a, b, t)
  638. return a:lerp(b, t)
  639. end
  640.  
  641. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  642. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  643.  
  644. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  645. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  646. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  647. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  648. RootJoint.C1 = CFrame.new(0, 0, 0)
  649. RootJoint.C0 = CFrame.new(0, 0, 0)
  650. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  651. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  652.  
  653. local rarmc1 = RW.C1
  654. local larmc1 = LW.C1
  655. local rlegc1 = RH.C1
  656. local llegc1 = LH.C1
  657.  
  658. local resetc1 = false
  659.  
  660.  
  661.  
  662. function PlayAnimationFromTable(table, speed, bool)
  663. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  664. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  665. RW.C0 = clerp(RW.C0, table[3], speed)
  666. LW.C0 = clerp(LW.C0, table[4], speed)
  667. RH.C0 = clerp(RH.C0, table[5], speed)
  668. LH.C0 = clerp(LH.C0, table[6], speed)
  669. if bool == true then
  670. if resetc1 == false then
  671. resetc1 = true
  672. RootJoint.C1 = RootJoint.C1
  673. Torso.Neck.C1 = Torso.Neck.C1
  674. RW.C1 = rarmc1
  675. LW.C1 = larmc1
  676. RH.C1 = rlegc1
  677. LH.C1 = llegc1
  678. end
  679. end
  680. end
  681.  
  682.  
  683.  
  684. function NoobBullets()
  685. chatfunc("TAIST THEESE SUKKERS!!11!!")
  686. AnimEnabled = false
  687. char.Humanoid.WalkSpeed = 0
  688.  
  689. coroutine.resume(coroutine.create(function()
  690. for f = 1,150 do
  691.  
  692. PlayAnimationFromTable({
  693. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(90), mr(-15)), -- Torso,
  694. CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(-90), 0), ----- Head
  695. CFrame.new(1.8,0.6,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(0),mr(0),mr(90)), --- RightArm
  696. CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm
  697. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --RightLeg
  698. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --LeftLeg
  699. }, .3, false)
  700.  
  701. game:GetService("RunService").RenderStepped:wait()
  702. local random = math.random(-50, 50)
  703. local random2 = math.random(-65, 65)
  704. local random3 = math.random(-45, 45)
  705.  
  706.  
  707. local Bullet = Instance.new("Part", char)
  708. Bullet.Shape = "Ball"
  709. Bullet.BrickColor = BrickColor.new("New Yeller")
  710. Bullet.Anchored = true
  711. Bullet.CanCollide = false
  712. Bullet.Material = "Neon"
  713. Bullet.Size = Vector3.new(0.1, 0.1, 0.1)
  714. Bullet.CFrame = RightArm.CFrame - Vector3.new(0,0,1)
  715.  
  716. coroutine.resume(coroutine.create(function()
  717. for o = 1,150 do
  718. game:GetService("RunService").RenderStepped:wait()
  719. Bullet.Size = Bullet.Size + Vector3.new(0.001, 0.001, 0.001)
  720. Bullet.CFrame = Bullet.CFrame:lerp (Bullet.CFrame*CFrame.new (random/50,random2/70,random3/34),.1)
  721. end
  722. wait(1)
  723. Bullet.Anchored = false
  724. local bv = Instance.new("BodyVelocity")
  725. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  726. bv.velocity = Mouse.Hit.lookVector *100
  727. bv.Parent = Bullet
  728. local Fired = true
  729. Bullet.Touched:Connect(function(hit)
  730. if Fired == true then
  731.  
  732. if hit.Parent.Name == char.Name then return end
  733. Bullet.Anchored = true
  734. coroutine.wrap(function()
  735. for o = 1,150 do
  736. game:GetService("RunService").RenderStepped:wait()
  737. Bullet.Size = Bullet.Size + Vector3.new(5, 5, 5)
  738. end
  739. end)
  740.  
  741. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  742. hit.Parent:BreakJoints()
  743.  
  744. for _, y in pairs(hit.Parent:GetChildren()) do
  745. if y:IsA("MeshPart") or y:IsA("Part") then
  746. y.Anchored = true
  747. y.Material = "Neon"
  748. y:ClearAllChildren()
  749. else
  750. y:Destroy()
  751. end
  752. end
  753. end
  754. Bullet:Destroy()
  755. AnimEnabled = true
  756. char.Humanoid.WalkSpeed = 80
  757. end
  758. end)
  759. end))
  760.  
  761.  
  762.  
  763.  
  764.  
  765. end
  766. end))
  767. end
  768.  
  769.  
  770. function Transform()
  771. if Mode == "Guest" then
  772. char.Humanoid.WalkSpeed = 0
  773. char.Humanoid.JumpPower = 0
  774.  
  775. local Part = Instance.new("Part", char)
  776. Part.Anchored = true
  777. Part.CanCollide = false
  778. Part.Position = Torso.Position
  779. Part.Size = Vector3.new(1,1,1)
  780. Part.Material = "Neon"
  781. local Mesh = Instance.new("SpecialMesh", Part)
  782. Mesh.MeshType = "Sphere"
  783.  
  784. coroutine.resume(coroutine.create(function()
  785. for i = 1,10 do
  786. game:GetService("RunService").RenderStepped:wait()
  787. for i = 1,30 do
  788. game:GetService("RunService").RenderStepped:wait(0.00000001)
  789. Part.Size = Part.Size + Vector3.new(2, 2, 2)
  790. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1)
  791. end
  792.  
  793. for i = 1,30 do
  794. game:GetService("RunService").RenderStepped:wait(0.00000001)
  795. Part.Size = Part.Size - Vector3.new(2, 2, 2)
  796. Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
  797. end
  798. end
  799. Theme.SoundId = "rbxassetid://305952044"
  800. TransformationSound:Play()
  801. local shirt = Instance.new("Shirt", char)
  802. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
  803. BC.HeadColor = BrickColor.new("Light stone grey")
  804. BC.RightArmColor = BrickColor.new("Really black")
  805. BC.LeftArmColor = BrickColor.new("Really black")
  806. BC.RightLegColor = BrickColor.new("Really black")
  807. BC.LeftLegColor = BrickColor.new("Really black")
  808. BC.TorsoColor = BrickColor.new("Really black")
  809. Mesh.MeshType = "Cylinder"
  810. Part.Position = Torso.Position
  811. Part.Orientation = Vector3.new(0,0,90)
  812. for i = 1,200 do
  813. game:GetService("RunService").RenderStepped:wait(0.00000001)
  814. Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1)
  815. Part.Transparency = Part.Transparency + 0.005
  816. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  817. end
  818. chatfunc("Im Even Stronger Now!11!!")
  819. char.Humanoid.WalkSpeed = 200
  820. char.Humanoid.JumpPower = 30
  821. end))
  822.  
  823.  
  824.  
  825.  
  826.  
  827. elseif Mode == "Guest666" then
  828. char.Humanoid.WalkSpeed = 0
  829. char.Humanoid.JumpPower = 0
  830.  
  831. local Part = Instance.new("Part", char)
  832. Part.Anchored = true
  833. Part.CanCollide = false
  834. Part.Position = Torso.Position
  835. Part.Size = Vector3.new(1,1,1)
  836. Part.Material = "Neon"
  837. local Mesh = Instance.new("SpecialMesh", Part)
  838. Mesh.MeshType = "Sphere"
  839.  
  840. coroutine.resume(coroutine.create(function()
  841. coroutine.resume(coroutine.create(function()
  842. for i = 1,10 do
  843. game:GetService("RunService").RenderStepped:wait()
  844. for i = 1,70 do
  845. game:GetService("RunService").RenderStepped:wait(0.00000001)
  846. Part.Size = Part.Size + Vector3.new(0.1, 0.1, 0.1)
  847. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  848. end
  849.  
  850. for i = 1,70 do
  851. game:GetService("RunService").RenderStepped:wait(0.00000001)
  852. Part.Size = Part.Size - Vector3.new(0.1, 0.1, 0.1)
  853. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 0, 0), 0.1)
  854. end
  855. end
  856. end))
  857. for i = 1,50 do
  858. wait(math.random(0.0001, 1))
  859. local random = math.random(-5, 5)
  860. local random2 = math.random(-5, 5)
  861. local random3 = math.random(-5, 5)
  862. local Part2 = Instance.new("Part", char)
  863. Part2.Anchored = true
  864. Part2.CanCollide = false
  865. Part2.Position = Torso.Position * Vector3.new(random*math.random(1,3), random2*math.random(1, 2), random3*math.random(1,2))
  866. Part2.Size = Vector3.new(1,1,1)
  867. Part2.BrickColor = BrickColor.new("Really red")
  868. Part2.Material = "Neon"
  869. Part2.Orientation = Vector3.new(0,0,90)
  870. local Mesh2 = Instance.new("SpecialMesh", Part2)
  871. Mesh2.MeshType = "Cylinder"
  872. Mesh2.Scale = Vector3.new(0.1, 10, 10)
  873. coroutine.resume(coroutine.create(function()
  874. for i = 1,200 do
  875. game:GetService("RunService").RenderStepped:wait()
  876. Mesh2.Scale = Mesh2.Scale + Vector3.new(50,0,0)
  877. Part2.Transparency = Part2.Transparency + 0.005
  878. if Part2.Transparency >= 1 then
  879. Part2:Destroy()
  880. end
  881. end
  882. end))
  883. end
  884. TransformationSound:Play()
  885.  
  886. Theme.SoundId = "rbxassetid://289016480"
  887.  
  888. local Part3 = Instance.new("Part", char)
  889. Part3.Anchored = false
  890. Part3.CanCollide = false
  891. Part3.Position = Torso.Position
  892. Part3.Size = Vector3.new(0.2,0.2,0.2)
  893. Part3.Material = "Neon"
  894. Part3.BrickColor = BrickColor.new("Really red")
  895. Part3.Name = "Eye1"
  896. local Mesh3 = Instance.new("SpecialMesh", Part3)
  897. Mesh3.MeshType = "Sphere"
  898. local EyeWeld1 = Instance.new("Weld", Part3)
  899. EyeWeld1.Part0 = char.Head
  900. EyeWeld1.Part1 = Part3
  901. EyeWeld1.C0 = CFrame.new(-0.2,0.15,-0.52)
  902.  
  903. local Part4 = Instance.new("Part", char)
  904. Part4.Anchored = false
  905. Part4.CanCollide = false
  906. Part4.Position = Torso.Position
  907. Part4.Size = Vector3.new(0.2,0.2,0.2)
  908. Part4.Material = "Neon"
  909. Part4.BrickColor = BrickColor.new("Really red")
  910. Part4.Name = "Eye2"
  911. local Mesh4 = Instance.new("SpecialMesh", Part4)
  912. Mesh4.MeshType = "Sphere"
  913. local EyeWeld2 = Instance.new("Weld", Part4)
  914. EyeWeld2.Part0 = char.Head
  915. EyeWeld2.Part1 = Part4
  916. EyeWeld2.C0 = CFrame.new(0.2,0.15,-0.52)
  917.  
  918. char.Head.face:Destroy()
  919. local shirt = Instance.new("Shirt", char)
  920. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
  921. BC.HeadColor = BrickColor.new("Really black")
  922. BC.RightArmColor = BrickColor.new("Really black")
  923. BC.LeftArmColor = BrickColor.new("Really black")
  924. BC.RightLegColor = BrickColor.new("Really black")
  925. BC.LeftLegColor = BrickColor.new("Really black")
  926. BC.TorsoColor = BrickColor.new("Really black")
  927. Mesh.MeshType = "Cylinder"
  928. Part.Position = Torso.Position
  929. Part.Orientation = Vector3.new(0,0,90)
  930.  
  931. for i = 1,250 do
  932. game:GetService("RunService").RenderStepped:wait(0.00000001)
  933. Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.6, 0.6)
  934. Part.Transparency = Part.Transparency + 0.005
  935. Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
  936. end
  937. chatfunc("I'm Gonna Kill You.")
  938. char.Humanoid.WalkSpeed = 3
  939. char.Humanoid.JumpPower = 30
  940. end))
  941. end
  942. end
  943.  
  944.  
  945.  
  946. function WipeOut()
  947. char.Humanoid.WalkSpeed = 0
  948. char.Humanoid.JumpPower = 0
  949.  
  950. local Torsoo = findNearestTorso2(char.Torso.Position)
  951. for _, o in pairs(Torsoo.Parent:GetChildren()) do
  952. if o:IsA("Part") or o:IsA("MeshPart") then
  953. o.Anchored = true
  954. end
  955. end
  956. char.Torso.CFrame = Torsoo.CFrame * CFrame.new(0,0,2)
  957. AnimEnabled = false
  958.  
  959. for i = 1,10 do
  960. wait()
  961. PlayAnimationFromTable({
  962. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
  963. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
  964.  
  965. CFrame.new(1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
  966. CFrame.new(-1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
  967.  
  968. CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
  969. CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
  970. }, .3, false)
  971. end
  972. chatfunc("Shhh.... Don't Move.")
  973. wait(2)
  974. coroutine.resume(coroutine.create(function()
  975. for i = 1,10 do
  976. wait()
  977. PlayAnimationFromTable({
  978. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
  979. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
  980.  
  981. CFrame.new(1,1.5,-2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
  982. CFrame.new(-1,0.7,0.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
  983.  
  984. CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
  985. CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
  986. }, .8, false)
  987. end
  988. end))
  989. NeckSnap:Play()
  990. for u = 1,10 do
  991. wait()
  992. Torsoo.Parent.Head.Orientation = Torsoo.Parent.Head.Orientation:lerp(Vector3.new(0,0,mr(-180)), 0.8)
  993. end
  994. wait(2)
  995. chatfunc("Go To Sleep.")
  996. Torsoo.Parent.Head.Anchored = false
  997. AnimEnabled = true
  998. human.JumpPower = 30
  999. human.WalkSpeed = 3
  1000. end
  1001.  
  1002.  
  1003.  
  1004. Mouse.KeyDown:Connect(function(kk)
  1005. if kk == "r" then
  1006. NoobBullets()
  1007. elseif kk == "x" then
  1008. if Mode == "Guest666" then
  1009. WipeOut()
  1010. end
  1011. elseif kk == "f" then
  1012. if Mode == "Noob" then
  1013. chatfunc("BEHOLD!1!")
  1014. wait(1)
  1015. Mode = "Guest"
  1016. Transform()
  1017. elseif Mode == "Guest" then
  1018. chatfunc("Now Im Angry...")
  1019. Mode = "Guest666"
  1020. Transform()
  1021. end
  1022. end
  1023. end)
  1024.  
  1025.  
  1026.  
  1027.  
  1028. ArtificialHB = Create("BindableEvent", script){
  1029. Parent = script,
  1030. Name = "Heartbeat",
  1031. }
  1032.  
  1033. script:WaitForChild("Heartbeat")
  1034.  
  1035. frame = 1 / 30
  1036. tf = 0
  1037. allowframeloss = false
  1038. tossremainder = false
  1039. lastframe = tick()
  1040. script.Heartbeat:Fire()
  1041.  
  1042. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1043. tf = tf + s
  1044. if tf >= frame then
  1045. if allowframeloss then
  1046. script.Heartbeat:Fire()
  1047. lastframe = tick()
  1048. else
  1049. for i = 1, math.floor(tf / frame) do
  1050. script.Heartbeat:Fire()
  1051. end
  1052. lastframe = tick()
  1053. end
  1054. if tossremainder then
  1055. tf = 0
  1056. else
  1057. tf = tf - frame * math.floor(tf / frame)
  1058. end
  1059. end
  1060. end)
  1061.  
  1062. function swait(num)
  1063. if num == 0 or num == nil then
  1064. ArtificialHB.Event:wait()
  1065. else
  1066. for i = 0, num do
  1067. ArtificialHB.Event:wait()
  1068. end
  1069. end
  1070. end
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076. New = function(Object, Parent, Name, Data)
  1077. local Object = Instance.new(Object)
  1078. for Index, Value in pairs(Data or {}) do
  1079. Object[Index] = Value
  1080. end
  1081. Object.Parent = Parent
  1082. Object.Name = Name
  1083. return Object
  1084. end
  1085. function rayCast(Position, Direction, Range, Ignore)
  1086. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1087. end
  1088.  
  1089.  
  1090.  
  1091.  
  1092. coroutine.wrap(function()
  1093. while 1 do
  1094. swait()
  1095. if doe <= 360 then
  1096. doe = doe + 2
  1097. else
  1098. doe = 0
  1099. end
  1100. end
  1101. end)()
  1102. while true do
  1103. swait()
  1104.  
  1105. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1106. velocity = RootPart.Velocity.y
  1107. sine = sine + change
  1108. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1109. if RootPart.Velocity.y > 1 and hit == nil and AnimEnabled == true then
  1110. if Mode == "Guest666" then
  1111.  
  1112. Anim = "Jump"
  1113.  
  1114. PlayAnimationFromTable({
  1115. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1116. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(0), mr(0)), ----- Head
  1117. CFrame.new(1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(5)), --- RightArm
  1118. CFrame.new(-1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(-5)),--LeftArm
  1119.  
  1120. CFrame.new(0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(5)), --RightLeg
  1121. CFrame.new(-0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(-5)), --LeftLeg
  1122. }, .3, false)
  1123.  
  1124. elseif Mode == "Noob" or Mode == "Guest" then
  1125. Anim = "Jump"
  1126.  
  1127. PlayAnimationFromTable({
  1128. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1129. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head
  1130. CFrame.new(1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(0)), --- RightArm
  1131. CFrame.new(-1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(0)),--LeftArm
  1132. CFrame.new(0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(30)), --RightLeg
  1133. CFrame.new(-0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(-30)), --LeftLeg
  1134. }, .3, false)
  1135. end
  1136.  
  1137. elseif RootPart.Velocity.y < -1 and hit == nil and AnimEnabled == true then
  1138. if Mode == "Guest666" then
  1139.  
  1140. Anim = "Fall"
  1141. PlayAnimationFromTable({
  1142. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1143. CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
  1144. CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),0,mr(20)), --- RightArm
  1145. CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), 0, mr(-20)),--LeftArm
  1146. CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --RightLeg
  1147. CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --LeftLeg
  1148. }, .3, false)
  1149.  
  1150. elseif Mode == "Guest" or Mode == "Noob" then
  1151.  
  1152. Anim = "Fall"
  1153.  
  1154. PlayAnimationFromTable({
  1155. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1156. CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
  1157. CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(90)), --- RightArm
  1158. CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(-90)),--LeftArm
  1159. CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(10)), --RightLeg
  1160. CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(-10)), --LeftLeg
  1161. }, .3, false)
  1162. end
  1163.  
  1164. elseif Torsovelocity < 1 and hit ~= nil and AnimEnabled == true then
  1165. if Mode == "Guest666" then
  1166.  
  1167. Anim = "Idle"
  1168. change = 1
  1169. PlayAnimationFromTable({
  1170. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso,
  1171. CFrame.new(0,1.2,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), mr(0), mr(10)), ----- Head
  1172. CFrame.new(1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25),mr(0),mr(0)), --- RightArm
  1173. CFrame.new(-1.5,0,-0.4) * CFrame.new(0, 0-.3*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(25), mr(0), mr(0)),--LeftArm
  1174. CFrame.new(0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(26), mr(-5), mr(5)), --RightLeg
  1175. CFrame.new(-0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(5), mr(-5)), --LeftLeg
  1176. }, .3, false)
  1177.  
  1178.  
  1179. elseif Mode == "Guest" or Mode == "Noob" then
  1180.  
  1181.  
  1182. Anim = "Idle"
  1183. change = 1
  1184. PlayAnimationFromTable({
  1185. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(0), 0), -- Torso,
  1186. CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(0), 0), ----- Head
  1187. CFrame.new(1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15),mr(0),mr(0)), --- RightArm
  1188. CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.1*math.sin(tick()*1), 0.2) * CFrame.Angles(mr(-15), mr(0), mr(0)),--LeftArm
  1189. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-5), mr(5)), --RightLeg
  1190. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(5), mr(-5)), --LeftLeg
  1191. }, .3, false)
  1192. end
  1193.  
  1194.  
  1195. elseif Torsovelocity > 2 and hit ~= nil and AnimEnabled == true then
  1196. if Mode == "Guest666" then
  1197.  
  1198. Anim = "Walk"
  1199. PlayAnimationFromTable({
  1200. CFrame.new(0,0,0) * CFrame.new(0, 0-0.1*math.sin(tick()*2), 0) * CFrame.Angles(-0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso
  1201. CFrame.new(-0.2,1.5,-0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0.5), -- Head
  1202.  
  1203. CFrame.new(1.5, 0, 0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 - 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33),
  1204. CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0-0.2*math.sin(tick()*2), 0 + 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((-1) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33),
  1205.  
  1206. CFrame.new(0.4,-2,0) * CFrame.new(0, 0, 0+ 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) - 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33),
  1207. CFrame.new(-0.4,-2,0) * CFrame.new(0, 0, 0- 0.5 * math.cos((sine) / 30)) * CFrame.Angles(math.rad((10) + 40 * math.cos((sine) / 30)), 0, 0-RootPart.RotVelocity.Y/33),
  1208. }, .3, false)
  1209.  
  1210.  
  1211. elseif Mode == "Noob" or Mode == "Guest" then
  1212.  
  1213. Anim = "Walk"
  1214. PlayAnimationFromTable({
  1215. CFrame.new(0,0,0) * CFrame.new(0, 0-0.5*math.sin(tick()*20), 0) * CFrame.Angles(0.4, 0, 0+RootPart.RotVelocity.Y/30), -- Torso
  1216. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head
  1217.  
  1218. CFrame.new(1.3, 0.9, 0.7) * CFrame.new(0, 0 - 0.3 * math.cos((sine) / 3), 0- 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 + math.random(1, 30) * math.cos((sine) / 3)), 0, 0- math.rad(0 + math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33),
  1219. CFrame.new(-1.3,0.9,0.7) * CFrame.new(0, 0 + 0.3 * math.cos((sine) / 3), 0+ 0.3 * math.cos((sine) / 3)) * CFrame.Angles(math.rad(-110 - math.random(1, 30) * math.cos((sine) / 3)), 0, 0 - math.rad(0 - math.random(1, 30) * math.cos((sine) / 3)) -RootPart.RotVelocity.Y/33),
  1220.  
  1221. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) - 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33),
  1222. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- 1.5 * math.cos((sine) / 3)) * CFrame.Angles(math.rad((-0.4) + 100 * math.cos((sine) / 3)), 0, 0-RootPart.RotVelocity.Y/33),
  1223. }, .3, false)
  1224. end
  1225. end
  1226.  
  1227. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement