Advertisement
5325325325

Untitled

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