Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.35 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 = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86. repeat wait()
  87.  
  88. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character
  89.  
  90.  
  91. --- MADE BY OOKYAMA, GIVE CREDIT! :)
  92.  
  93. local num = 0
  94. local p = game.Players.LocalPlayer
  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 Mouse = p:GetMouse()
  285. local animen = true
  286. local Player = game.Players.localPlayer
  287. local Character = Player.Character
  288. local Humanoid = Character.Humanoid
  289. local LeftArm = Character["Left Arm"]
  290. local RightArm = Character["Right Arm"]
  291. local LeftLeg = Character["Left Leg"]
  292. local RightLeg = Character["Right Leg"]
  293. local Head = Character.Head
  294. local Torso = Character.Torso
  295. local Camera = game.Workspace.CurrentCamera
  296. local RootPart = Character.HumanoidRootPart
  297. local RootJoint = RootPart.RootJoint
  298. local Pause = false
  299. local attack = false
  300. local LOL = false
  301. local Anim = 'Idle'
  302. local attacktype = 1
  303. local delays = false
  304. local play = true
  305. local targetted = nil
  306. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  307. local velocity = RootPart.Velocity.y
  308. local sine = 0
  309. local change = 1
  310. local doe = 0
  311. local Create = LoadLibrary("RbxUtility").Create
  312. Humanoid.WalkSpeed = 80
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319. local TrailSoundStart = Instance.new("Sound", char)
  320. TrailSoundStart.Looped = false
  321. TrailSoundStart.Volume = 0.4
  322. TrailSoundStart.SoundId = "rbxassetid://905876599"
  323.  
  324. local TrailSound = Instance.new("Sound", char)
  325. TrailSound.Looped = true
  326. TrailSound.Volume = 0.4
  327. TrailSound.SoundId = "rbxassetid://379557765"
  328.  
  329. local StepSound = Instance.new("Sound", char)
  330. StepSound.Looped = false
  331. StepSound.Volume = 0.7
  332. StepSound.SoundId = "rbxassetid://289556450"
  333.  
  334. local TransformationSound = Instance.new("Sound", char)
  335. TransformationSound.Looped = false
  336. TransformationSound.Volume = 0.5
  337. TransformationSound.SoundId = "rbxassetid://165969964"
  338.  
  339. local ShadowTravel = Instance.new("Sound", char)
  340. ShadowTravel.Looped = true
  341. ShadowTravel.Volume = 1
  342. ShadowTravel.SoundId = "rbxassetid://362395087"
  343.  
  344. local NeckSnap = Instance.new("Sound", char)
  345. NeckSnap.Looped = false
  346. NeckSnap.Volume = 1
  347. NeckSnap.SoundId = "rbxassetid://198606040"
  348.  
  349.  
  350.  
  351.  
  352.  
  353. function findNearestTorso(pos)
  354. local list = game.Workspace:children()
  355. local torso = nil
  356. local dist = 150
  357. local temp = nil
  358. local human = nil
  359. local temp2 = nil
  360. for x = 1, #list do
  361. temp2 = list[x]
  362. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  363. temp = temp2:findFirstChild("HumanoidRootPart")
  364. human = temp2:findFirstChildOfClass("Humanoid")
  365. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  366. if (temp.Position - pos).magnitude < dist then
  367. torso = temp
  368. dist = (temp.Position - pos).magnitude
  369. end
  370. end
  371. end
  372. end
  373. return torso.Parent.Name
  374. end
  375.  
  376.  
  377.  
  378.  
  379. function findNearestTorso2(pos)
  380. local list = game.Workspace:children()
  381. local torso = nil
  382. local dist = 150
  383. local temp = nil
  384. local human = nil
  385. local temp2 = nil
  386. for x = 1, #list do
  387. temp2 = list[x]
  388. if (temp2.className == "Model") and (temp2 ~= script.Parent) then
  389. temp = temp2:findFirstChild("HumanoidRootPart")
  390. human = temp2:findFirstChildOfClass("Humanoid")
  391. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  392. if (temp.Position - pos).magnitude < dist then
  393. torso = temp
  394. dist = (temp.Position - pos).magnitude
  395. end
  396. end
  397. end
  398. end
  399. return torso
  400. end
  401.  
  402.  
  403. function NoobStep()
  404. StepSound:Play()
  405. if Mode == "Guest" then
  406. chatfunc("GUEST STEP!!11!1!")
  407. elseif Mode == "Noob" then
  408. chatfunc("NOOB STEP!!111!!")
  409. end
  410. local NeonTorsopls = Torso:Clone()
  411. local Arm1 = RightArm:Clone()
  412. local Arm2 = LeftArm:Clone()
  413. local Head1 = Head:Clone()
  414. local Leg1 = RightLeg:Clone()
  415. local Leg2 = LeftLeg:Clone()
  416.  
  417. Head1.Name = "Headdd"
  418. Arm1.Name = "Armmm1"
  419. Arm2.Name = "Armmm2"
  420. NeonTorsopls.Name = "Torsooo"
  421. Leg1.Name = "Leggg1"
  422. Leg2.Name = "Leggg2"
  423.  
  424. NeonTorsopls.Parent = char
  425. Arm1.Parent = char
  426. Arm2.Parent = char
  427. Head1.Parent = char
  428. Leg1.Parent = char
  429. Leg2.Parent = char
  430. Head1:ClearAllChildren()
  431. Arm1:ClearAllChildren()
  432. Leg1:ClearAllChildren()
  433. Leg2:ClearAllChildren()
  434. NeonTorsopls:ClearAllChildren()
  435. Arm2:ClearAllChildren()
  436.  
  437. NeonTorsopls.CFrame = Torso.CFrame
  438. Arm1.CFrame = RightArm.CFrame
  439. Arm2.CFrame = LeftArm.CFrame
  440. Head1.CFrame = Head.CFrame
  441. Leg1.CFrame = RightLeg.CFrame
  442. Leg2.CFrame = LeftLeg.CFrame
  443.  
  444. Leg1.Material = "Neon"
  445. Arm1.Material = "Neon"
  446. Arm2.Material = "Neon"
  447. Leg2.Material = "Neon"
  448. NeonTorsopls.Material = "Neon"
  449. Head1.Material = "Neon"
  450.  
  451. Head1.Anchored = true
  452. NeonTorsopls.Anchored = true
  453. Arm1.Anchored = true
  454. Arm2.Anchored = true
  455. Leg1.Anchored = true
  456. Leg2.Anchored = true
  457.  
  458. Leg2.CanCollide = false
  459. Leg1.CanCollide = false
  460. Head1.CanCollide = false
  461. NeonTorsopls.CanCollide = false
  462. Arm1.CanCollide = false
  463. Arm2.CanCollide = false
  464.  
  465.  
  466. coroutine.resume(coroutine.create(function()
  467. for i = 1,300 do
  468. game:GetService("RunService").RenderStepped:wait()
  469. Arm1.Transparency = Arm1.Transparency + 0.01
  470. Arm2.Transparency = Arm2.Transparency + 0.01
  471. Head1.Transparency = Head1.Transparency + 0.01
  472. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
  473. Leg1.Transparency = Leg1.Transparency + 0.01
  474. Leg2.Transparency = Leg2.Transparency + 0.01
  475. if Head1.Transparency >= 1 then
  476. Leg1:Destroy()
  477. Leg2:Destroy()
  478. Head1:Destroy()
  479. Arm1:Destroy()
  480. Arm2:Destroy()
  481. NeonTorsopls:Destroy()
  482. end
  483. end
  484. end))
  485.  
  486. Torso.CFrame = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y, Mouse.Hit.Z)
  487. end
  488.  
  489.  
  490. local TrailEnabled = false
  491.  
  492. function EnableTrail()
  493. if Mode == "Noob" or Mode == "Guest" then
  494. TrailSoundStart:Play()
  495. chatfunc("Be Confuuse!!111!!")
  496. TrailSound: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.01
  557. Arm2.Transparency = Arm2.Transparency + 0.01
  558. Head1.Transparency = Head1.Transparency + 0.01
  559. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
  560. Leg1.Transparency = Leg1.Transparency + 0.01
  561. Leg2.Transparency = Leg2.Transparency + 0.01
  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. elseif Mode == "Guest666" then
  575. chatfunc("Shadow Travel...")
  576. ShadowTravel:Play()
  577. while wait() and TrailEnabled == true do
  578. local NeonTorsopls = Torso:Clone()
  579. local Arm1 = RightArm:Clone()
  580. local Arm2 = LeftArm:Clone()
  581. local Head1 = Head:Clone()
  582. local Leg1 = RightLeg:Clone()
  583. local Leg2 = LeftLeg:Clone()
  584.  
  585. Head1.Name = "Headdd"
  586. Arm1.Name = "Armmm1"
  587. Arm2.Name = "Armmm2"
  588. NeonTorsopls.Name = "Torsooo"
  589. Leg1.Name = "Leggg1"
  590. Leg2.Name = "Leggg2"
  591.  
  592. NeonTorsopls.Parent = char
  593. Arm1.Parent = char
  594. Arm2.Parent = char
  595. Head1.Parent = char
  596. Leg1.Parent = char
  597. Leg2.Parent = char
  598. Head1:ClearAllChildren()
  599. Arm1:ClearAllChildren()
  600. Leg1:ClearAllChildren()
  601. Leg2:ClearAllChildren()
  602. NeonTorsopls:ClearAllChildren()
  603. Arm2:ClearAllChildren()
  604.  
  605. NeonTorsopls.CFrame = Torso.CFrame
  606. Arm1.CFrame = RightArm.CFrame
  607. Arm2.CFrame = LeftArm.CFrame
  608. Head1.CFrame = Head.CFrame
  609. Leg1.CFrame = RightLeg.CFrame
  610. Leg2.CFrame = LeftLeg.CFrame
  611.  
  612. Leg1.Material = "Neon"
  613. Arm1.Material = "Neon"
  614. Arm2.Material = "Neon"
  615. Leg2.Material = "Neon"
  616. NeonTorsopls.Material = "Neon"
  617. Head1.Material = "Neon"
  618.  
  619. Head1.Anchored = true
  620. NeonTorsopls.Anchored = true
  621. Arm1.Anchored = true
  622. Arm2.Anchored = true
  623. Leg1.Anchored = true
  624. Leg2.Anchored = true
  625.  
  626. Leg2.CanCollide = false
  627. Leg1.CanCollide = false
  628. Head1.CanCollide = false
  629. NeonTorsopls.CanCollide = false
  630. Arm1.CanCollide = false
  631. Arm2.CanCollide = false
  632.  
  633. coroutine.resume(coroutine.create(function()
  634. for i = 1,300 do
  635. game:GetService("RunService").RenderStepped:wait()
  636. Arm1.Transparency = Arm1.Transparency + 0.1
  637. Arm2.Transparency = Arm2.Transparency + 0.1
  638. Head1.Transparency = Head1.Transparency + 0.1
  639. NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.1
  640. Leg1.Transparency = Leg1.Transparency + 0.1
  641. Leg2.Transparency = Leg2.Transparency + 0.1
  642. if Head1.Transparency >= 1 then
  643. Leg1:Destroy()
  644. Leg2:Destroy()
  645. Head1:Destroy()
  646. Arm1:Destroy()
  647. Arm2:Destroy()
  648. NeonTorsopls:Destroy()
  649. end
  650. end
  651. end))
  652. end
  653.  
  654.  
  655.  
  656.  
  657. end
  658. end
  659.  
  660. AnimEnabled = true
  661.  
  662. Mouse.KeyDown:Connect(function(k)
  663. if k == "9" then
  664. chatfunc("Wow The Clouds In The Scy Are Buutiful Toniyt.")
  665.  
  666. elseif k == "8" then
  667. chatfunc("PLS NO!11!!")
  668.  
  669. elseif k == "7" then
  670. chatfunc(findNearestTorso(char.HumanoidRootPart.Position).." Be My Frien Pls!11!!!1")
  671.  
  672. elseif k == "6" then
  673. chatfunc("Hi "..findNearestTorso(char.HumanoidRootPart.Position))
  674.  
  675. elseif k == "5" then
  676. chatfunc("Do N0t Make Me Ki11 U!111!!!!")
  677.  
  678. elseif k == "4" then
  679. chatfunc("I Will Straighten U Out!!111!1")
  680.  
  681. elseif k == "e" then
  682. NoobStep()
  683.  
  684. elseif k == "q" then
  685. if TrailEnabled == false then
  686. TrailEnabled = true
  687. char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 20
  688. EnableTrail()
  689.  
  690. elseif TrailEnabled == true then
  691. TrailSound:Stop()
  692. ShadowTravel:Stop()
  693. TrailEnabled = false
  694. char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 20
  695. end
  696.  
  697. end
  698. end)
  699.  
  700.  
  701.  
  702. Humanoid.Animator.Parent = nil
  703. Character.Animate.Parent = nil
  704.  
  705.  
  706.  
  707. local newMotor = function(part0, part1, c0, c1)
  708. local w = Create('Motor'){
  709. Parent = part0,
  710. Part0 = part0,
  711. Part1 = part1,
  712. C0 = c0,
  713. C1 = c1,
  714. }
  715. return w
  716. end
  717. function clerp(a, b, t)
  718. return a:lerp(b, t)
  719. end
  720.  
  721. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  722. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  723.  
  724. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  725. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  726. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  727. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  728. RootJoint.C1 = CFrame.new(0, 0, 0)
  729. RootJoint.C0 = CFrame.new(0, 0, 0)
  730. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  731. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  732.  
  733. local rarmc1 = RW.C1
  734. local larmc1 = LW.C1
  735. local rlegc1 = RH.C1
  736. local llegc1 = LH.C1
  737.  
  738. local resetc1 = false
  739.  
  740.  
  741.  
  742. function PlayAnimationFromTable(table, speed, bool)
  743. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  744. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  745. RW.C0 = clerp(RW.C0, table[3], speed)
  746. LW.C0 = clerp(LW.C0, table[4], speed)
  747. RH.C0 = clerp(RH.C0, table[5], speed)
  748. LH.C0 = clerp(LH.C0, table[6], speed)
  749. if bool == true then
  750. if resetc1 == false then
  751. resetc1 = true
  752. RootJoint.C1 = RootJoint.C1
  753. Torso.Neck.C1 = Torso.Neck.C1
  754. RW.C1 = rarmc1
  755. LW.C1 = larmc1
  756. RH.C1 = rlegc1
  757. LH.C1 = llegc1
  758. end
  759. end
  760. end
  761.  
  762.  
  763.  
  764. function NoobBullets()
  765. chatfunc("TAIST THEESE SUKKERS!!11!!")
  766. AnimEnabled = false
  767. char.Humanoid.WalkSpeed = 0
  768.  
  769. coroutine.resume(coroutine.create(function()
  770. for f = 1,150 do
  771.  
  772. PlayAnimationFromTable({
  773. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(90), mr(-15)), -- Torso,
  774. CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(-90), 0), ----- Head
  775. 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
  776. 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
  777. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --RightLeg
  778. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --LeftLeg
  779. }, .3, false)
  780.  
  781. game:GetService("RunService").RenderStepped:wait()
  782. local random = math.random(-50, 50)
  783. local random2 = math.random(-65, 65)
  784. local random3 = math.random(-45, 45)
  785.  
  786.  
  787. local Bullet = Instance.new("Part", char)
  788. Bullet.Shape = "Ball"
  789. Bullet.BrickColor = BrickColor.new("New Yeller")
  790. Bullet.Anchored = true
  791. Bullet.CanCollide = false
  792. Bullet.Material = "Neon"
  793. Bullet.Size = Vector3.new(0.1, 0.1, 0.1)
  794. Bullet.CFrame = RightArm.CFrame - Vector3.new(0,0,1)
  795.  
  796. coroutine.resume(coroutine.create(function()
  797. for o = 1,150 do
  798. game:GetService("RunService").RenderStepped:wait()
  799. Bullet.Size = Bullet.Size + Vector3.new(0.001, 0.001, 0.001)
  800. Bullet.CFrame = Bullet.CFrame:lerp (Bullet.CFrame*CFrame.new (random/50,random2/70,random3/34),.1)
  801. end
  802. wait(1)
  803. Bullet.Anchored = false
  804. local bv = Instance.new("BodyVelocity")
  805. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  806. bv.velocity = Mouse.Hit.lookVector *100
  807. bv.Parent = Bullet
  808. local Fired = true
  809. Bullet.Touched:Connect(function(hit)
  810. if Fired == true then
  811.  
  812. if hit.Parent.Name == char.Name then return end
  813. Bullet.Anchored = true
  814. coroutine.wrap(function()
  815. for o = 1,150 do
  816. game:GetService("RunService").RenderStepped:wait()
  817. Bullet.Size = Bullet.Size + Vector3.new(5, 5, 5)
  818. end
  819. end)
  820.  
  821. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  822. hit.Parent:BreakJoints()
  823.  
  824. for _, y in pairs(hit.Parent:GetChildren()) do
  825. if y:IsA("MeshPart") or y:IsA("Part") then
  826. y.Anchored = true
  827. y.Material = "Neon"
  828. y:ClearAllChildren()
  829. else
  830. y:Destroy()
  831. end
  832. end
  833. end
  834. Bullet:Destroy()
  835. AnimEnabled = true
  836. char.Humanoid.WalkSpeed = 80
  837. end
  838. end)
  839. end))
  840.  
  841.  
  842.  
  843.  
  844.  
  845. end
  846. end))
  847. end
  848.  
  849.  
  850. function Transform()
  851. if Mode == "Guest" then
  852. char.Humanoid.WalkSpeed = 0
  853. char.Humanoid.JumpPower = 0
  854.  
  855. local Part = Instance.new("Part", char)
  856. Part.Anchored = true
  857. Part.CanCollide = false
  858. Part.Position = Torso.Position
  859. Part.Size = Vector3.new(1,1,1)
  860. Part.Material = "Neon"
  861. local Mesh = Instance.new("SpecialMesh", Part)
  862. Mesh.MeshType = "Sphere"
  863.  
  864. coroutine.resume(coroutine.create(function()
  865. for i = 1,10 do
  866. game:GetService("RunService").RenderStepped:wait()
  867. for i = 1,30 do
  868. game:GetService("RunService").RenderStepped:wait(0.00000001)
  869. Part.Size = Part.Size + Vector3.new(2, 2, 2)
  870. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1)
  871. end
  872.  
  873. for i = 1,30 do
  874. game:GetService("RunService").RenderStepped:wait(0.00000001)
  875. Part.Size = Part.Size - Vector3.new(2, 2, 2)
  876. Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
  877. end
  878. end
  879. Theme.SoundId = "rbxassetid://305952044"
  880. TransformationSound:Play()
  881. local shirt = Instance.new("Shirt", char)
  882. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
  883. BC.HeadColor = BrickColor.new("Light stone grey")
  884. BC.RightArmColor = BrickColor.new("Really black")
  885. BC.LeftArmColor = BrickColor.new("Really black")
  886. BC.RightLegColor = BrickColor.new("Really black")
  887. BC.LeftLegColor = BrickColor.new("Really black")
  888. BC.TorsoColor = BrickColor.new("Really black")
  889. Mesh.MeshType = "Cylinder"
  890. Part.Position = Torso.Position
  891. Part.Orientation = Vector3.new(0,0,90)
  892. for i = 1,200 do
  893. game:GetService("RunService").RenderStepped:wait(0.00000001)
  894. Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1)
  895. Part.Transparency = Part.Transparency + 0.005
  896. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  897. end
  898. chatfunc("Im Even Stronger Now!11!!")
  899. char.Humanoid.WalkSpeed = 200
  900. char.Humanoid.JumpPower = 30
  901. end))
  902.  
  903.  
  904.  
  905.  
  906.  
  907. elseif Mode == "Guest666" then
  908. char.Humanoid.WalkSpeed = 0
  909. char.Humanoid.JumpPower = 0
  910.  
  911. local Part = Instance.new("Part", char)
  912. Part.Anchored = true
  913. Part.CanCollide = false
  914. Part.Position = Torso.Position
  915. Part.Size = Vector3.new(1,1,1)
  916. Part.Material = "Neon"
  917. local Mesh = Instance.new("SpecialMesh", Part)
  918. Mesh.MeshType = "Sphere"
  919.  
  920. coroutine.resume(coroutine.create(function()
  921. coroutine.resume(coroutine.create(function()
  922. for i = 1,10 do
  923. game:GetService("RunService").RenderStepped:wait()
  924. for i = 1,70 do
  925. game:GetService("RunService").RenderStepped:wait(0.00000001)
  926. Part.Size = Part.Size + Vector3.new(0.1, 0.1, 0.1)
  927. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
  928. end
  929.  
  930. for i = 1,70 do
  931. game:GetService("RunService").RenderStepped:wait(0.00000001)
  932. Part.Size = Part.Size - Vector3.new(0.1, 0.1, 0.1)
  933. Part.Color = Part.Color:lerp(Color3.fromRGB(255, 0, 0), 0.1)
  934. end
  935. end
  936. end))
  937. for i = 1,50 do
  938. wait(math.random(0.0001, 1))
  939. local random = math.random(-5, 5)
  940. local random2 = math.random(-5, 5)
  941. local random3 = math.random(-5, 5)
  942. local Part2 = Instance.new("Part", char)
  943. Part2.Anchored = true
  944. Part2.CanCollide = false
  945. Part2.Position = Torso.Position * Vector3.new(random*math.random(1,3), random2*math.random(1, 2), random3*math.random(1,2))
  946. Part2.Size = Vector3.new(1,1,1)
  947. Part2.BrickColor = BrickColor.new("Really red")
  948. Part2.Material = "Neon"
  949. Part2.Orientation = Vector3.new(0,0,90)
  950. local Mesh2 = Instance.new("SpecialMesh", Part2)
  951. Mesh2.MeshType = "Cylinder"
  952. Mesh2.Scale = Vector3.new(0.1, 10, 10)
  953. coroutine.resume(coroutine.create(function()
  954. for i = 1,200 do
  955. game:GetService("RunService").RenderStepped:wait()
  956. Mesh2.Scale = Mesh2.Scale + Vector3.new(50,0,0)
  957. Part2.Transparency = Part2.Transparency + 0.005
  958. if Part2.Transparency >= 1 then
  959. Part2:Destroy()
  960. end
  961. end
  962. end))
  963. end
  964. TransformationSound:Play()
  965.  
  966. Theme.SoundId = "rbxassetid://289016480"
  967.  
  968. local Part3 = Instance.new("Part", char)
  969. Part3.Anchored = false
  970. Part3.CanCollide = false
  971. Part3.Position = Torso.Position
  972. Part3.Size = Vector3.new(0.2,0.2,0.2)
  973. Part3.Material = "Neon"
  974. Part3.BrickColor = BrickColor.new("Really red")
  975. Part3.Name = "Eye1"
  976. local Mesh3 = Instance.new("SpecialMesh", Part3)
  977. Mesh3.MeshType = "Sphere"
  978. local EyeWeld1 = Instance.new("Weld", Part3)
  979. EyeWeld1.Part0 = char.Head
  980. EyeWeld1.Part1 = Part3
  981. EyeWeld1.C0 = CFrame.new(-0.2,0.15,-0.52)
  982.  
  983. local Part4 = Instance.new("Part", char)
  984. Part4.Anchored = false
  985. Part4.CanCollide = false
  986. Part4.Position = Torso.Position
  987. Part4.Size = Vector3.new(0.2,0.2,0.2)
  988. Part4.Material = "Neon"
  989. Part4.BrickColor = BrickColor.new("Really red")
  990. Part4.Name = "Eye2"
  991. local Mesh4 = Instance.new("SpecialMesh", Part4)
  992. Mesh4.MeshType = "Sphere"
  993. local EyeWeld2 = Instance.new("Weld", Part4)
  994. EyeWeld2.Part0 = char.Head
  995. EyeWeld2.Part1 = Part4
  996. EyeWeld2.C0 = CFrame.new(0.2,0.15,-0.52)
  997.  
  998. char.Head.face:Destroy()
  999. local shirt = Instance.new("Shirt", char)
  1000. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
  1001. BC.HeadColor = BrickColor.new("Really black")
  1002. BC.RightArmColor = BrickColor.new("Really black")
  1003. BC.LeftArmColor = BrickColor.new("Really black")
  1004. BC.RightLegColor = BrickColor.new("Really black")
  1005. BC.LeftLegColor = BrickColor.new("Really black")
  1006. BC.TorsoColor = BrickColor.new("Really black")
  1007. Mesh.MeshType = "Cylinder"
  1008. Part.Position = Torso.Position
  1009. Part.Orientation = Vector3.new(0,0,90)
  1010.  
  1011. for i = 1,250 do
  1012. game:GetService("RunService").RenderStepped:wait(0.00000001)
  1013. Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.6, 0.6)
  1014. Part.Transparency = Part.Transparency + 0.005
  1015. Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
  1016. end
  1017. chatfunc("I'm Gonna Kill You.")
  1018. char.Humanoid.WalkSpeed = 3
  1019. char.Humanoid.JumpPower = 30
  1020. end))
  1021. end
  1022. end
  1023.  
  1024.  
  1025.  
  1026. function WipeOut()
  1027. char.Humanoid.WalkSpeed = 0
  1028. char.Humanoid.JumpPower = 0
  1029.  
  1030. local Torsoo = findNearestTorso2(char.Torso.Position)
  1031. for _, o in pairs(Torsoo.Parent:GetChildren()) do
  1032. if o:IsA("Part") or o:IsA("MeshPart") then
  1033. o.Anchored = true
  1034. end
  1035. end
  1036. char.Torso.CFrame = Torsoo.CFrame * CFrame.new(0,0,2)
  1037. AnimEnabled = false
  1038.  
  1039. for i = 1,10 do
  1040. wait()
  1041. PlayAnimationFromTable({
  1042. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
  1043. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
  1044.  
  1045. CFrame.new(1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
  1046. CFrame.new(-1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
  1047.  
  1048. CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
  1049. CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
  1050. }, .3, false)
  1051. end
  1052. chatfunc("Shhh.... Don't Move.")
  1053. wait(2)
  1054. coroutine.resume(coroutine.create(function()
  1055. for i = 1,10 do
  1056. wait()
  1057. PlayAnimationFromTable({
  1058. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
  1059. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
  1060.  
  1061. CFrame.new(1,1.5,-2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
  1062. CFrame.new(-1,0.7,0.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
  1063.  
  1064. CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
  1065. CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
  1066. }, .8, false)
  1067. end
  1068. end))
  1069. NeckSnap:Play()
  1070. for u = 1,10 do
  1071. wait()
  1072. Torsoo.Parent.Head.Orientation = Torsoo.Parent.Head.Orientation:lerp(Vector3.new(0,0,mr(-180)), 0.8)
  1073. end
  1074. wait(2)
  1075. chatfunc("Go To Sleep.")
  1076. Torsoo.Parent.Head.Anchored = false
  1077. AnimEnabled = true
  1078. human.JumpPower = 30
  1079. human.WalkSpeed = 3
  1080. end
  1081.  
  1082.  
  1083.  
  1084. Mouse.KeyDown:Connect(function(kk)
  1085. if kk == "r" then
  1086. NoobBullets()
  1087. elseif kk == "x" then
  1088. if Mode == "Guest666" then
  1089. WipeOut()
  1090. end
  1091. elseif kk == "f" then
  1092. if Mode == "Noob" then
  1093. chatfunc("BEHOLD!1!")
  1094. wait(1)
  1095. Mode = "Guest"
  1096. Transform()
  1097. elseif Mode == "Guest" then
  1098. chatfunc("Now Im Angry...")
  1099. Mode = "Guest666"
  1100. Transform()
  1101. end
  1102. end
  1103. end)
  1104.  
  1105.  
  1106.  
  1107.  
  1108. ArtificialHB = Create("BindableEvent", script){
  1109. Parent = script,
  1110. Name = "Heartbeat",
  1111. }
  1112.  
  1113. script:WaitForChild("Heartbeat")
  1114.  
  1115. frame = 1 / 30
  1116. tf = 0
  1117. allowframeloss = false
  1118. tossremainder = false
  1119. lastframe = tick()
  1120. script.Heartbeat:Fire()
  1121.  
  1122. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1123. tf = tf + s
  1124. if tf >= frame then
  1125. if allowframeloss then
  1126. script.Heartbeat:Fire()
  1127. lastframe = tick()
  1128. else
  1129. for i = 1, math.floor(tf / frame) do
  1130. script.Heartbeat:Fire()
  1131. end
  1132. lastframe = tick()
  1133. end
  1134. if tossremainder then
  1135. tf = 0
  1136. else
  1137. tf = tf - frame * math.floor(tf / frame)
  1138. end
  1139. end
  1140. end)
  1141.  
  1142. function swait(num)
  1143. if num == 0 or num == nil then
  1144. ArtificialHB.Event:wait()
  1145. else
  1146. for i = 0, num do
  1147. ArtificialHB.Event:wait()
  1148. end
  1149. end
  1150. end
  1151.  
  1152.  
  1153.  
  1154.  
  1155.  
  1156. New = function(Object, Parent, Name, Data)
  1157. local Object = Instance.new(Object)
  1158. for Index, Value in pairs(Data or {}) do
  1159. Object[Index] = Value
  1160. end
  1161. Object.Parent = Parent
  1162. Object.Name = Name
  1163. return Object
  1164. end
  1165. function rayCast(Position, Direction, Range, Ignore)
  1166. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1167. end
  1168.  
  1169.  
  1170.  
  1171.  
  1172. coroutine.wrap(function()
  1173. while 1 do
  1174. swait()
  1175. if doe <= 360 then
  1176. doe = doe + 2
  1177. else
  1178. doe = 0
  1179. end
  1180. end
  1181. end)()
  1182. while true do
  1183. swait()
  1184.  
  1185. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1186. velocity = RootPart.Velocity.y
  1187. sine = sine + change
  1188. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  1189. if RootPart.Velocity.y > 1 and hit == nil and AnimEnabled == true then
  1190. if Mode == "Guest666" then
  1191.  
  1192. Anim = "Jump"
  1193.  
  1194. PlayAnimationFromTable({
  1195. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1196. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(0), mr(0)), ----- Head
  1197. CFrame.new(1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(5)), --- RightArm
  1198. CFrame.new(-1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(-5)),--LeftArm
  1199.  
  1200. CFrame.new(0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(5)), --RightLeg
  1201. CFrame.new(-0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(-5)), --LeftLeg
  1202. }, .3, false)
  1203.  
  1204. elseif Mode == "Noob" or Mode == "Guest" then
  1205. Anim = "Jump"
  1206.  
  1207. PlayAnimationFromTable({
  1208. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1209. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head
  1210. CFrame.new(1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(0)), --- RightArm
  1211. CFrame.new(-1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(0)),--LeftArm
  1212. CFrame.new(0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(30)), --RightLeg
  1213. CFrame.new(-0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(-30)), --LeftLeg
  1214. }, .3, false)
  1215. end
  1216.  
  1217. elseif RootPart.Velocity.y < -1 and hit == nil and AnimEnabled == true then
  1218. if Mode == "Guest666" then
  1219.  
  1220. Anim = "Fall"
  1221. PlayAnimationFromTable({
  1222. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1223. CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
  1224. CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),0,mr(20)), --- RightArm
  1225. CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), 0, mr(-20)),--LeftArm
  1226. CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --RightLeg
  1227. CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --LeftLeg
  1228. }, .3, false)
  1229.  
  1230. elseif Mode == "Guest" or Mode == "Noob" then
  1231.  
  1232. Anim = "Fall"
  1233.  
  1234. PlayAnimationFromTable({
  1235. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
  1236. CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
  1237. CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(90)), --- RightArm
  1238. CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(-90)),--LeftArm
  1239. CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(10)), --RightLeg
  1240. CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(-10)), --LeftLeg
  1241. }, .3, false)
  1242. end
  1243.  
  1244. elseif Torsovelocity < 1 and hit ~= nil and AnimEnabled == true then
  1245. if Mode == "Guest666" then
  1246.  
  1247. Anim = "Idle"
  1248. change = 1
  1249. PlayAnimationFromTable({
  1250. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso,
  1251. CFrame.new(0,1.2,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), mr(0), mr(10)), ----- Head
  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)), --- RightArm
  1253. 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
  1254. CFrame.new(0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(26), mr(-5), mr(5)), --RightLeg
  1255. CFrame.new(-0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(5), mr(-5)), --LeftLeg
  1256. }, .3, false)
  1257.  
  1258.  
  1259. elseif Mode == "Guest" or Mode == "Noob" then
  1260.  
  1261.  
  1262. Anim = "Idle"
  1263. change = 1
  1264. PlayAnimationFromTable({
  1265. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(0), 0), -- Torso,
  1266. CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(0), 0), ----- Head
  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)), --- RightArm
  1268. 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
  1269. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-5), mr(5)), --RightLeg
  1270. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(5), mr(-5)), --LeftLeg
  1271. }, .3, false)
  1272. end
  1273.  
  1274.  
  1275. elseif Torsovelocity > 2 and hit ~= nil and AnimEnabled == true then
  1276. if Mode == "Guest666" then
  1277.  
  1278. Anim = "Walk"
  1279. PlayAnimationFromTable({
  1280. 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
  1281. 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
  1282.  
  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. 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),
  1285.  
  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. 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),
  1288. }, .3, false)
  1289.  
  1290.  
  1291. elseif Mode == "Noob" or Mode == "Guest" then
  1292.  
  1293. Anim = "Walk"
  1294. PlayAnimationFromTable({
  1295. 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
  1296. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head
  1297.  
  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. 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),
  1300.  
  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. 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),
  1303. }, .3, false)
  1304. end
  1305. end
  1306.  
  1307. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement