Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- do
- print("FE Compatibility code by Mokiros")
- local rp = RealPlayer
- script.Parent = rp.Character
- --RemoteEvent for communicating
- local Event = Instance.new("RemoteEvent")
- Event.Name = "UserInput_Event"
- --Fake event to make stuff like Mouse.KeyDown work
- local function fakeEvent()
- local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
- t.connect = t.Connect
- return t
- end
- --Creating fake input objects with fake variables
- local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
- local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
- local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
- CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
- end}
- --Merged 2 functions into one by checking amount of arguments
- CAS.UnbindAction = CAS.BindAction
- --This function will trigger the events that have been :Connect()'ed
- local function te(self,ev,...)
- local t = m[ev]
- if t and t._fakeEvent then
- for _,f in pairs(t.Functions) do
- f(...)
- end
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=rp then return end
- m.Target = io.Target
- m.Hit = io.Hit
- if not io.isMouse then
- local b = io.UserInputState == Enum.UserInputState.Begin
- if io.UserInputType == Enum.UserInputType.MouseButton1 then
- return m:TrigEvent(b and "Button1Down" or "Button1Up")
- end
- for _,t in pairs(CAS.Actions) do
- for _,k in pairs(t.Keys) do
- if k==io.KeyCode then
- t.Function(t.Name,io.UserInputState,io)
- end
- end
- end
- m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
- UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
- end
- end)
- Event.Parent = NLS([==[
- local Player = game:GetService("Players").LocalPlayer
- local Event = script:WaitForChild("UserInput_Event")
- local Mouse = Player:GetMouse()
- local UIS = game:GetService("UserInputService")
- local input = function(io,a)
- if a then return end
- --Since InputObject is a client-side instance, we create and pass table instead
- Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local h,t
- --Give the server mouse data 30 times every second, but only if the values changed
- --If player is not moving their mouse, client won't fire events
- while wait(1/30) do
- if h~=Mouse.Hit or t~=Mouse.Target then
- h,t=Mouse.Hit,Mouse.Target
- Event:FireServer({isMouse=true,Target=t,Hit=h})
- end
- end]==],Player.Character)
- ----Sandboxed game object that allows the usage of client-side methods and services
- --Real game object
- local _rg = game
- --Metatable for fake service
- local fsmt = {
- __index = function(self,k)
- local s = rawget(self,"_RealService")
- if s then return s[k] end
- end,
- __newindex = function(self,k,v)
- local s = rawget(self,"_RealService")
- if s then s[k]=v end
- end,
- __call = function(self,...)
- local s = rawget(self,"_RealService")
- if s then return s(...) end
- end
- }
- local function FakeService(t,RealService)
- t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
- return setmetatable(t,fsmt)
- end
- --Fake game object
- local g = {
- GetService = function(self,s)
- return self[s]
- end,
- Players = FakeService({
- LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
- },"Players"),
- UserInputService = FakeService(UIS,"UserInputService"),
- ContextActionService = FakeService(CAS,"ContextActionService"),
- }
- rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
- g.service = g.GetService
- g.RunService = FakeService({
- RenderStepped = _rg:GetService("RunService").Heartbeat,
- BindToRenderStep = function(self,name,_,fun)
- end,
- UnbindFromRenderStep = function(self,name)
- self._btrs[name]:Disconnect()
- end,
- },"RunService")
- setmetatable(g,{
- __index=function(self,s)
- return _rg:GetService(s) or typeof(_rg[s])=="function"
- and function(_,...)return _rg[s](_rg,...)end or _rg[s]
- end,
- __newindex = fsmt.__newindex,
- __call = fsmt.__call
- })
- --Changing owner to fake player object to support owner:GetMouse()
- game,owner = g,g.Players.LocalPlayer
- end
- ---------------------------
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character
- --- MADE BY OOKYAMA, GIVE CREDIT! :)
- local num = 0
- local p = owner
- local char = p.Character
- local rad = math.rad
- local hum = char.Humanoid
- local EM = Enum.Material
- local CF = CFrame
- local V3 = Vector3
- local Ins = Instance
- local Col = Color3
- local UD = UDim
- local UD2 = UDim2
- local mr = math.rad
- local mra = math.random
- local mh = math.huge
- for _, p in pairs(char:GetChildren()) do
- if p:IsA("Accessory")or p:IsA("Shirt") or p:IsA("Pants") then
- p:Destroy()
- end
- end
- local BC = char["Body Colors"]
- BC.HeadColor = BrickColor.new("Bright yellow")
- BC.RightArmColor = BrickColor.new("Bright yellow")
- BC.LeftArmColor = BrickColor.new("Bright yellow")
- BC.RightLegColor = BrickColor.new("Br. yellowish green")
- BC.LeftLegColor = BrickColor.new("Br. yellowish green")
- BC.TorsoColor = BrickColor.new("Bright blue")
- char.Head.face.Texture = "http://www.roblox.com/asset/?id=268018808"
- human = char.Humanoid
- hrp = char.HumanoidRootPart
- anim = human.Animator
- -- HAIR
- local txt2 = Instance.new("BillboardGui", char)
- txt2.Adornee = char.Head
- txt2.Name = "_status2"
- txt2.Size = UDim2.new(2, 0, 1.2, 0)
- txt2.StudsOffset = Vector3.new(-14, 3, 0)
- local text2 = Instance.new("TextLabel", txt2)
- text2.Size = UDim2.new(15, 0,2, 0)
- text2.FontSize = "Size24"
- text2.TextScaled = true
- text2.TextTransparency = 0
- text2.BackgroundTransparency = 1
- text2.TextTransparency = 0
- text2.TextStrokeTransparency = 0
- text2.Font = Enum.Font.SciFi
- text2.TextStrokeColor3 = Color3.new(0,0,0)
- text2.TextColor3 = Color3.fromRGB(14, 83, 148)
- text2.Text = "Nooby "..p.Name
- v2=Instance.new("Part")
- v2.Name = "ColorBrick"
- v2.Parent= char
- v2.FormFactor="Symmetric"
- v2.Anchored=true
- v2.CanCollide=false
- v2.BottomSurface="Smooth"
- v2.TopSurface="Smooth"
- v2.Size=Vector3.new(10,5,3)
- v2.Transparency=1
- v2.CFrame=char.HumanoidRootPart.CFrame
- v2.BrickColor=BrickColor.new("Lime green")
- v2.Transparency=1
- v2.Shape="Block"
- coroutine.resume(coroutine.create(function()
- while wait() do
- for i = 1,50 do
- wait()
- text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(85, 103, 34), 0.05)
- end
- for i = 1,50 do
- wait()
- text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(14, 83, 148), 0.05)
- end
- for i = 1,50 do
- wait()
- text2.TextColor3 = text2.TextColor3:lerp(Color3.fromRGB(245, 205, 48), 0.05)
- end
- end
- end))
- local Mode = "Noob"
- coroutine.resume(coroutine.create(function()
- while wait() do
- if char:FindFirstChild("Eye1") ~= nil then
- local Eye1 = char:FindFirstChild("Eye1").Mesh.Scale
- local Eye2 = char:FindFirstChild("Eye2").Mesh.Scale
- for i = 1, 10 do
- wait()
- Eye1 = Eye1:lerp(Vector3.new(1, 0.1, 1), 0.5)
- Eye2 = Eye2:lerp(Vector3.new(1, 0.1, 1), 0.5)
- end
- for i = 1, 10 do
- wait()
- Eye1 = Eye1:lerp(Vector3.new(1, 1, 1), 0.5)
- Eye2 = Eye2:lerp(Vector3.new(1, 1, 1), 0.5)
- end
- wait(2)
- end
- end
- end))
- local namee = "Nooby "..p.Name
- local chatDB = false
- function chatfunc(msg)
- coroutine.resume(coroutine.create(function()
- if not chatDB then
- chatDB = true
- for i = 1,#msg do
- wait()
- text2.Text = string.sub(msg, 1, i)
- end
- wait(2)
- if Mode == "Guest" then
- namee = "Guesty "..p.Name
- elseif Mode == "Guest666" then
- namee = "The Awakened "..p.Name
- end
- for i = 1,#namee do
- wait()
- text2.Text = string.sub(namee, 1, i)
- end
- chatDB = false -- So you can use right after it is done.
- end
- end))
- end
- local Theme = Instance.new("Sound", char)
- Theme.Looped = true
- Theme.SoundId = "rbxassetid://265241849"
- Theme:Play()
- local clerp = function(a, b, t)
- return a:lerp(b, t)
- end
- -------------------------------------
- local Head = char.Head
- local RArm = char["Right Arm"]
- local LArm = char["Left Arm"]
- local Torso = char.Torso
- local LLeg = char["Left Leg"]
- local RLeg = char["Right Leg"]
- -------------------------------------
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = Torso:FindFirstChild("Right Shoulder")
- LS = Torso:FindFirstChild("Left Shoulder")
- RH = Torso:FindFirstChild("Right Hip")
- LH = Torso:FindFirstChild("Left Hip")
- RJ = hrp:FindFirstChild("RootJoint")
- NK = Torso:FindFirstChild("Neck")
- local RunS = game:GetService("RunService")
- local Mouse = p:GetMouse()
- local animen = true
- local Player = game.Players.localPlayer
- local Character = Player.Character
- local Humanoid = Character.Humanoid
- local LeftArm = Character["Left Arm"]
- local RightArm = Character["Right Arm"]
- local LeftLeg = Character["Left Leg"]
- local RightLeg = Character["Right Leg"]
- local Head = Character.Head
- local Torso = Character.Torso
- local Camera = game.Workspace.CurrentCamera
- local RootPart = Character.HumanoidRootPart
- local RootJoint = RootPart.RootJoint
- local Pause = false
- local attack = false
- local LOL = false
- local Anim = 'Idle'
- local attacktype = 1
- local delays = false
- local play = true
- local targetted = nil
- local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velocity = RootPart.Velocity.y
- local sine = 0
- local change = 1
- local doe = 0
- local Create = LoadLibrary("RbxUtility").Create
- Humanoid.WalkSpeed = 80
- local TrailSoundStart = Instance.new("Sound", char)
- TrailSoundStart.Looped = false
- TrailSoundStart.Volume = 0.4
- TrailSoundStart.SoundId = "rbxassetid://905876599"
- local TrailSound = Instance.new("Sound", char)
- TrailSound.Looped = true
- TrailSound.Volume = 0.4
- TrailSound.SoundId = "rbxassetid://379557765"
- local StepSound = Instance.new("Sound", char)
- StepSound.Looped = false
- StepSound.Volume = 0.7
- StepSound.SoundId = "rbxassetid://289556450"
- local TransformationSound = Instance.new("Sound", char)
- TransformationSound.Looped = false
- TransformationSound.Volume = 0.5
- TransformationSound.SoundId = "rbxassetid://165969964"
- local ShadowTravel = Instance.new("Sound", char)
- ShadowTravel.Looped = true
- ShadowTravel.Volume = 1
- ShadowTravel.SoundId = "rbxassetid://362395087"
- local NeckSnap = Instance.new("Sound", char)
- NeckSnap.Looped = false
- NeckSnap.Volume = 1
- NeckSnap.SoundId = "rbxassetid://198606040"
- function findNearestTorso(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 150
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("HumanoidRootPart")
- human = temp2:findFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso.Parent.Name
- end
- function findNearestTorso2(pos)
- local list = game.Workspace:children()
- local torso = nil
- local dist = 150
- local temp = nil
- local human = nil
- local temp2 = nil
- for x = 1, #list do
- temp2 = list[x]
- if (temp2.className == "Model") and (temp2 ~= script.Parent) then
- temp = temp2:findFirstChild("HumanoidRootPart")
- human = temp2:findFirstChildOfClass("Humanoid")
- if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
- if (temp.Position - pos).magnitude < dist then
- torso = temp
- dist = (temp.Position - pos).magnitude
- end
- end
- end
- end
- return torso
- end
- function NoobStep()
- StepSound:Play()
- if Mode == "Guest" then
- chatfunc("GUEST STEP!!11!1!")
- elseif Mode == "Noob" then
- chatfunc("NOOB STEP!!111!!")
- end
- local NeonTorsopls = Torso:Clone()
- local Arm1 = RightArm:Clone()
- local Arm2 = LeftArm:Clone()
- local Head1 = Head:Clone()
- local Leg1 = RightLeg:Clone()
- local Leg2 = LeftLeg:Clone()
- Head1.Name = "Headdd"
- Arm1.Name = "Armmm1"
- Arm2.Name = "Armmm2"
- NeonTorsopls.Name = "Torsooo"
- Leg1.Name = "Leggg1"
- Leg2.Name = "Leggg2"
- NeonTorsopls.Parent = char
- Arm1.Parent = char
- Arm2.Parent = char
- Head1.Parent = char
- Leg1.Parent = char
- Leg2.Parent = char
- Head1:ClearAllChildren()
- Arm1:ClearAllChildren()
- Leg1:ClearAllChildren()
- Leg2:ClearAllChildren()
- NeonTorsopls:ClearAllChildren()
- Arm2:ClearAllChildren()
- NeonTorsopls.CFrame = Torso.CFrame
- Arm1.CFrame = RightArm.CFrame
- Arm2.CFrame = LeftArm.CFrame
- Head1.CFrame = Head.CFrame
- Leg1.CFrame = RightLeg.CFrame
- Leg2.CFrame = LeftLeg.CFrame
- Leg1.Material = "Neon"
- Arm1.Material = "Neon"
- Arm2.Material = "Neon"
- Leg2.Material = "Neon"
- NeonTorsopls.Material = "Neon"
- Head1.Material = "Neon"
- Head1.Anchored = true
- NeonTorsopls.Anchored = true
- Arm1.Anchored = true
- Arm2.Anchored = true
- Leg1.Anchored = true
- Leg2.Anchored = true
- Leg2.CanCollide = false
- Leg1.CanCollide = false
- Head1.CanCollide = false
- NeonTorsopls.CanCollide = false
- Arm1.CanCollide = false
- Arm2.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 1,300 do
- game:GetService("RunService").RenderStepped:wait()
- Arm1.Transparency = Arm1.Transparency + 0.01
- Arm2.Transparency = Arm2.Transparency + 0.01
- Head1.Transparency = Head1.Transparency + 0.01
- NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
- Leg1.Transparency = Leg1.Transparency + 0.01
- Leg2.Transparency = Leg2.Transparency + 0.01
- if Head1.Transparency >= 1 then
- Leg1:Destroy()
- Leg2:Destroy()
- Head1:Destroy()
- Arm1:Destroy()
- Arm2:Destroy()
- NeonTorsopls:Destroy()
- end
- end
- end))
- Torso.CFrame = CFrame.new(Mouse.Hit.X, Mouse.Hit.Y, Mouse.Hit.Z)
- end
- local TrailEnabled = false
- function EnableTrail()
- if Mode == "Noob" or Mode == "Guest" then
- TrailSoundStart:Play()
- chatfunc("Be Confuuse!!111!!")
- TrailSound:Play()
- while wait() and TrailEnabled == true do
- local NeonTorsopls = Torso:Clone()
- local Arm1 = RightArm:Clone()
- local Arm2 = LeftArm:Clone()
- local Head1 = Head:Clone()
- local Leg1 = RightLeg:Clone()
- local Leg2 = LeftLeg:Clone()
- Head1.Name = "Headdd"
- Arm1.Name = "Armmm1"
- Arm2.Name = "Armmm2"
- NeonTorsopls.Name = "Torsooo"
- Leg1.Name = "Leggg1"
- Leg2.Name = "Leggg2"
- NeonTorsopls.Parent = char
- Arm1.Parent = char
- Arm2.Parent = char
- Head1.Parent = char
- Leg1.Parent = char
- Leg2.Parent = char
- Head1:ClearAllChildren()
- Arm1:ClearAllChildren()
- Leg1:ClearAllChildren()
- Leg2:ClearAllChildren()
- NeonTorsopls:ClearAllChildren()
- Arm2:ClearAllChildren()
- NeonTorsopls.CFrame = Torso.CFrame
- Arm1.CFrame = RightArm.CFrame
- Arm2.CFrame = LeftArm.CFrame
- Head1.CFrame = Head.CFrame
- Leg1.CFrame = RightLeg.CFrame
- Leg2.CFrame = LeftLeg.CFrame
- Leg1.Material = "Neon"
- Arm1.Material = "Neon"
- Arm2.Material = "Neon"
- Leg2.Material = "Neon"
- NeonTorsopls.Material = "Neon"
- Head1.Material = "Neon"
- Head1.Anchored = true
- NeonTorsopls.Anchored = true
- Arm1.Anchored = true
- Arm2.Anchored = true
- Leg1.Anchored = true
- Leg2.Anchored = true
- Leg2.CanCollide = false
- Leg1.CanCollide = false
- Head1.CanCollide = false
- NeonTorsopls.CanCollide = false
- Arm1.CanCollide = false
- Arm2.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 1,300 do
- game:GetService("RunService").RenderStepped:wait()
- Arm1.Transparency = Arm1.Transparency + 0.01
- Arm2.Transparency = Arm2.Transparency + 0.01
- Head1.Transparency = Head1.Transparency + 0.01
- NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.01
- Leg1.Transparency = Leg1.Transparency + 0.01
- Leg2.Transparency = Leg2.Transparency + 0.01
- if Head1.Transparency >= 1 then
- Leg1:Destroy()
- Leg2:Destroy()
- Head1:Destroy()
- Arm1:Destroy()
- Arm2:Destroy()
- NeonTorsopls:Destroy()
- end
- end
- end))
- end
- elseif Mode == "Guest666" then
- chatfunc("Shadow Travel...")
- ShadowTravel:Play()
- while wait() and TrailEnabled == true do
- local NeonTorsopls = Torso:Clone()
- local Arm1 = RightArm:Clone()
- local Arm2 = LeftArm:Clone()
- local Head1 = Head:Clone()
- local Leg1 = RightLeg:Clone()
- local Leg2 = LeftLeg:Clone()
- Head1.Name = "Headdd"
- Arm1.Name = "Armmm1"
- Arm2.Name = "Armmm2"
- NeonTorsopls.Name = "Torsooo"
- Leg1.Name = "Leggg1"
- Leg2.Name = "Leggg2"
- NeonTorsopls.Parent = char
- Arm1.Parent = char
- Arm2.Parent = char
- Head1.Parent = char
- Leg1.Parent = char
- Leg2.Parent = char
- Head1:ClearAllChildren()
- Arm1:ClearAllChildren()
- Leg1:ClearAllChildren()
- Leg2:ClearAllChildren()
- NeonTorsopls:ClearAllChildren()
- Arm2:ClearAllChildren()
- NeonTorsopls.CFrame = Torso.CFrame
- Arm1.CFrame = RightArm.CFrame
- Arm2.CFrame = LeftArm.CFrame
- Head1.CFrame = Head.CFrame
- Leg1.CFrame = RightLeg.CFrame
- Leg2.CFrame = LeftLeg.CFrame
- Leg1.Material = "Neon"
- Arm1.Material = "Neon"
- Arm2.Material = "Neon"
- Leg2.Material = "Neon"
- NeonTorsopls.Material = "Neon"
- Head1.Material = "Neon"
- Head1.Anchored = true
- NeonTorsopls.Anchored = true
- Arm1.Anchored = true
- Arm2.Anchored = true
- Leg1.Anchored = true
- Leg2.Anchored = true
- Leg2.CanCollide = false
- Leg1.CanCollide = false
- Head1.CanCollide = false
- NeonTorsopls.CanCollide = false
- Arm1.CanCollide = false
- Arm2.CanCollide = false
- coroutine.resume(coroutine.create(function()
- for i = 1,300 do
- game:GetService("RunService").RenderStepped:wait()
- Arm1.Transparency = Arm1.Transparency + 0.1
- Arm2.Transparency = Arm2.Transparency + 0.1
- Head1.Transparency = Head1.Transparency + 0.1
- NeonTorsopls.Transparency = NeonTorsopls.Transparency + 0.1
- Leg1.Transparency = Leg1.Transparency + 0.1
- Leg2.Transparency = Leg2.Transparency + 0.1
- if Head1.Transparency >= 1 then
- Leg1:Destroy()
- Leg2:Destroy()
- Head1:Destroy()
- Arm1:Destroy()
- Arm2:Destroy()
- NeonTorsopls:Destroy()
- end
- end
- end))
- end
- end
- end
- AnimEnabled = true
- Mouse.KeyDown:Connect(function(k)
- if k == "9" then
- chatfunc("Wow The Clouds In The Scy Are Buutiful Toniyt.")
- elseif k == "8" then
- chatfunc("PLS NO!11!!")
- elseif k == "7" then
- chatfunc(findNearestTorso(char.HumanoidRootPart.Position).." Be My Frien Pls!11!!!1")
- elseif k == "6" then
- chatfunc("Hi "..findNearestTorso(char.HumanoidRootPart.Position))
- elseif k == "5" then
- chatfunc("Do N0t Make Me Ki11 U!111!!!!")
- elseif k == "4" then
- chatfunc("I Will Straighten U Out!!111!1")
- elseif k == "e" then
- NoobStep()
- elseif k == "q" then
- if TrailEnabled == false then
- TrailEnabled = true
- char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed + 20
- EnableTrail()
- elseif TrailEnabled == true then
- TrailSound:Stop()
- ShadowTravel:Stop()
- TrailEnabled = false
- char.Humanoid.WalkSpeed = char.Humanoid.WalkSpeed - 20
- end
- end
- end)
- Humanoid.Animator.Parent = nil
- Character.Animate.Parent = nil
- local newMotor = function(part0, part1, c0, c1)
- local w = Create('Motor'){
- Parent = part0,
- Part0 = part0,
- Part1 = part1,
- C0 = c0,
- C1 = c1,
- }
- return w
- end
- function clerp(a, b, t)
- return a:lerp(b, t)
- end
- RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
- local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
- local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
- local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
- RootJoint.C1 = CFrame.new(0, 0, 0)
- RootJoint.C0 = CFrame.new(0, 0, 0)
- Torso.Neck.C1 = CFrame.new(0, 0, 0)
- Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
- local rarmc1 = RW.C1
- local larmc1 = LW.C1
- local rlegc1 = RH.C1
- local llegc1 = LH.C1
- local resetc1 = false
- function PlayAnimationFromTable(table, speed, bool)
- RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
- Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
- RW.C0 = clerp(RW.C0, table[3], speed)
- LW.C0 = clerp(LW.C0, table[4], speed)
- RH.C0 = clerp(RH.C0, table[5], speed)
- LH.C0 = clerp(LH.C0, table[6], speed)
- if bool == true then
- if resetc1 == false then
- resetc1 = true
- RootJoint.C1 = RootJoint.C1
- Torso.Neck.C1 = Torso.Neck.C1
- RW.C1 = rarmc1
- LW.C1 = larmc1
- RH.C1 = rlegc1
- LH.C1 = llegc1
- end
- end
- end
- function NoobBullets()
- chatfunc("TAIST THEESE SUKKERS!!11!!")
- AnimEnabled = false
- char.Humanoid.WalkSpeed = 0
- coroutine.resume(coroutine.create(function()
- for f = 1,150 do
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(90), mr(-15)), -- Torso,
- CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(-90), 0), ----- Head
- 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
- 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
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --RightLeg
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-15), mr(-10)), --LeftLeg
- }, .3, false)
- game:GetService("RunService").RenderStepped:wait()
- local random = math.random(-50, 50)
- local random2 = math.random(-65, 65)
- local random3 = math.random(-45, 45)
- local Bullet = Instance.new("Part", char)
- Bullet.Shape = "Ball"
- Bullet.BrickColor = BrickColor.new("New Yeller")
- Bullet.Anchored = true
- Bullet.CanCollide = false
- Bullet.Material = "Neon"
- Bullet.Size = Vector3.new(0.1, 0.1, 0.1)
- Bullet.CFrame = RightArm.CFrame - Vector3.new(0,0,1)
- coroutine.resume(coroutine.create(function()
- for o = 1,150 do
- game:GetService("RunService").RenderStepped:wait()
- Bullet.Size = Bullet.Size + Vector3.new(0.001, 0.001, 0.001)
- Bullet.CFrame = Bullet.CFrame:lerp (Bullet.CFrame*CFrame.new (random/50,random2/70,random3/34),.1)
- end
- wait(1)
- Bullet.Anchored = false
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = Mouse.Hit.lookVector *100
- bv.Parent = Bullet
- local Fired = true
- Bullet.Touched:Connect(function(hit)
- if Fired == true then
- if hit.Parent.Name == char.Name then return end
- Bullet.Anchored = true
- coroutine.wrap(function()
- for o = 1,150 do
- game:GetService("RunService").RenderStepped:wait()
- Bullet.Size = Bullet.Size + Vector3.new(5, 5, 5)
- end
- end)
- if hit.Parent:FindFirstChild("Humanoid") ~= nil then
- hit.Parent:BreakJoints()
- for _, y in pairs(hit.Parent:GetChildren()) do
- if y:IsA("MeshPart") or y:IsA("Part") then
- y.Anchored = true
- y.Material = "Neon"
- y:ClearAllChildren()
- else
- y:Destroy()
- end
- end
- end
- Bullet:Destroy()
- AnimEnabled = true
- char.Humanoid.WalkSpeed = 80
- end
- end)
- end))
- end
- end))
- end
- function Transform()
- if Mode == "Guest" then
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- local Part = Instance.new("Part", char)
- Part.Anchored = true
- Part.CanCollide = false
- Part.Position = Torso.Position
- Part.Size = Vector3.new(1,1,1)
- Part.Material = "Neon"
- local Mesh = Instance.new("SpecialMesh", Part)
- Mesh.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- for i = 1,10 do
- game:GetService("RunService").RenderStepped:wait()
- for i = 1,30 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Part.Size = Part.Size + Vector3.new(2, 2, 2)
- Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 0), 0.1)
- end
- for i = 1,30 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Part.Size = Part.Size - Vector3.new(2, 2, 2)
- Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
- end
- end
- Theme.SoundId = "rbxassetid://305952044"
- TransformationSound:Play()
- local shirt = Instance.new("Shirt", char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
- BC.HeadColor = BrickColor.new("Light stone grey")
- BC.RightArmColor = BrickColor.new("Really black")
- BC.LeftArmColor = BrickColor.new("Really black")
- BC.RightLegColor = BrickColor.new("Really black")
- BC.LeftLegColor = BrickColor.new("Really black")
- BC.TorsoColor = BrickColor.new("Really black")
- Mesh.MeshType = "Cylinder"
- Part.Position = Torso.Position
- Part.Orientation = Vector3.new(0,0,90)
- for i = 1,200 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.1, 0.1)
- Part.Transparency = Part.Transparency + 0.005
- Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
- end
- chatfunc("Im Even Stronger Now!11!!")
- char.Humanoid.WalkSpeed = 200
- char.Humanoid.JumpPower = 30
- end))
- elseif Mode == "Guest666" then
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- local Part = Instance.new("Part", char)
- Part.Anchored = true
- Part.CanCollide = false
- Part.Position = Torso.Position
- Part.Size = Vector3.new(1,1,1)
- Part.Material = "Neon"
- local Mesh = Instance.new("SpecialMesh", Part)
- Mesh.MeshType = "Sphere"
- coroutine.resume(coroutine.create(function()
- coroutine.resume(coroutine.create(function()
- for i = 1,10 do
- game:GetService("RunService").RenderStepped:wait()
- for i = 1,70 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Part.Size = Part.Size + Vector3.new(0.1, 0.1, 0.1)
- Part.Color = Part.Color:lerp(Color3.fromRGB(255, 255, 255), 0.1)
- end
- for i = 1,70 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Part.Size = Part.Size - Vector3.new(0.1, 0.1, 0.1)
- Part.Color = Part.Color:lerp(Color3.fromRGB(255, 0, 0), 0.1)
- end
- end
- end))
- for i = 1,50 do
- wait(math.random(0.0001, 1))
- local random = math.random(-5, 5)
- local random2 = math.random(-5, 5)
- local random3 = math.random(-5, 5)
- local Part2 = Instance.new("Part", char)
- Part2.Anchored = true
- Part2.CanCollide = false
- Part2.Position = Torso.Position * Vector3.new(random*math.random(1,3), random2*math.random(1, 2), random3*math.random(1,2))
- Part2.Size = Vector3.new(1,1,1)
- Part2.BrickColor = BrickColor.new("Really red")
- Part2.Material = "Neon"
- Part2.Orientation = Vector3.new(0,0,90)
- local Mesh2 = Instance.new("SpecialMesh", Part2)
- Mesh2.MeshType = "Cylinder"
- Mesh2.Scale = Vector3.new(0.1, 10, 10)
- coroutine.resume(coroutine.create(function()
- for i = 1,200 do
- game:GetService("RunService").RenderStepped:wait()
- Mesh2.Scale = Mesh2.Scale + Vector3.new(50,0,0)
- Part2.Transparency = Part2.Transparency + 0.005
- if Part2.Transparency >= 1 then
- Part2:Destroy()
- end
- end
- end))
- end
- TransformationSound:Play()
- Theme.SoundId = "rbxassetid://289016480"
- local Part3 = Instance.new("Part", char)
- Part3.Anchored = false
- Part3.CanCollide = false
- Part3.Position = Torso.Position
- Part3.Size = Vector3.new(0.2,0.2,0.2)
- Part3.Material = "Neon"
- Part3.BrickColor = BrickColor.new("Really red")
- Part3.Name = "Eye1"
- local Mesh3 = Instance.new("SpecialMesh", Part3)
- Mesh3.MeshType = "Sphere"
- local EyeWeld1 = Instance.new("Weld", Part3)
- EyeWeld1.Part0 = char.Head
- EyeWeld1.Part1 = Part3
- EyeWeld1.C0 = CFrame.new(-0.2,0.15,-0.52)
- local Part4 = Instance.new("Part", char)
- Part4.Anchored = false
- Part4.CanCollide = false
- Part4.Position = Torso.Position
- Part4.Size = Vector3.new(0.2,0.2,0.2)
- Part4.Material = "Neon"
- Part4.BrickColor = BrickColor.new("Really red")
- Part4.Name = "Eye2"
- local Mesh4 = Instance.new("SpecialMesh", Part4)
- Mesh4.MeshType = "Sphere"
- local EyeWeld2 = Instance.new("Weld", Part4)
- EyeWeld2.Part0 = char.Head
- EyeWeld2.Part1 = Part4
- EyeWeld2.C0 = CFrame.new(0.2,0.15,-0.52)
- char.Head.face:Destroy()
- local shirt = Instance.new("Shirt", char)
- shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=8854587"
- BC.HeadColor = BrickColor.new("Really black")
- BC.RightArmColor = BrickColor.new("Really black")
- BC.LeftArmColor = BrickColor.new("Really black")
- BC.RightLegColor = BrickColor.new("Really black")
- BC.LeftLegColor = BrickColor.new("Really black")
- BC.TorsoColor = BrickColor.new("Really black")
- Mesh.MeshType = "Cylinder"
- Part.Position = Torso.Position
- Part.Orientation = Vector3.new(0,0,90)
- for i = 1,250 do
- game:GetService("RunService").RenderStepped:wait(0.00000001)
- Mesh.Scale = Mesh.Scale + Vector3.new(10, 0.6, 0.6)
- Part.Transparency = Part.Transparency + 0.005
- Part.Color = Part.Color:lerp(Color3.fromRGB(0, 0, 0), 0.1)
- end
- chatfunc("I'm Gonna Kill You.")
- char.Humanoid.WalkSpeed = 3
- char.Humanoid.JumpPower = 30
- end))
- end
- end
- function WipeOut()
- char.Humanoid.WalkSpeed = 0
- char.Humanoid.JumpPower = 0
- local Torsoo = findNearestTorso2(char.Torso.Position)
- for _, o in pairs(Torsoo.Parent:GetChildren()) do
- if o:IsA("Part") or o:IsA("MeshPart") then
- o.Anchored = true
- end
- end
- char.Torso.CFrame = Torsoo.CFrame * CFrame.new(0,0,2)
- AnimEnabled = false
- for i = 1,10 do
- wait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
- CFrame.new(1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
- CFrame.new(-1,1.5,-1.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
- CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
- CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
- }, .3, false)
- end
- chatfunc("Shhh.... Don't Move.")
- wait(2)
- coroutine.resume(coroutine.create(function()
- for i = 1,10 do
- wait()
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(0), 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(0), mr(20)), ----- Head
- CFrame.new(1,1.5,-2) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120),mr(0),mr(-15)), --- RightArm
- CFrame.new(-1,0.7,0.5) * CFrame.new(0, 0, 0.2) * CFrame.Angles(mr(120), mr(0), mr(15)),--LeftArm
- CFrame.new(0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(-5), mr(5)), --RightLeg
- CFrame.new(-0.6,-2,-0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(5), mr(-5)), --LeftLeg
- }, .8, false)
- end
- end))
- NeckSnap:Play()
- for u = 1,10 do
- wait()
- Torsoo.Parent.Head.Orientation = Torsoo.Parent.Head.Orientation:lerp(Vector3.new(0,0,mr(-180)), 0.8)
- end
- wait(2)
- chatfunc("Go To Sleep.")
- Torsoo.Parent.Head.Anchored = false
- AnimEnabled = true
- human.JumpPower = 30
- human.WalkSpeed = 3
- end
- Mouse.KeyDown:Connect(function(kk)
- if kk == "r" then
- NoobBullets()
- elseif kk == "x" then
- if Mode == "Guest666" then
- WipeOut()
- end
- elseif kk == "f" then
- if Mode == "Noob" then
- chatfunc("BEHOLD!1!")
- wait(1)
- Mode = "Guest"
- Transform()
- elseif Mode == "Guest" then
- chatfunc("Now Im Angry...")
- Mode = "Guest666"
- Transform()
- end
- end
- end)
- ArtificialHB = Create("BindableEvent", script){
- Parent = script,
- Name = "Heartbeat",
- }
- script:WaitForChild("Heartbeat")
- frame = 1 / 30
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- New = function(Object, Parent, Name, Data)
- local Object = Instance.new(Object)
- for Index, Value in pairs(Data or {}) do
- Object[Index] = Value
- end
- Object.Parent = Parent
- Object.Name = Name
- return Object
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- coroutine.wrap(function()
- while 1 do
- swait()
- if doe <= 360 then
- doe = doe + 2
- else
- doe = 0
- end
- end
- end)()
- while true do
- swait()
- Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
- velocity = RootPart.Velocity.y
- sine = sine + change
- local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
- if RootPart.Velocity.y > 1 and hit == nil and AnimEnabled == true then
- if Mode == "Guest666" then
- Anim = "Jump"
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(5), mr(0), mr(0)), ----- Head
- CFrame.new(1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(5)), --- RightArm
- CFrame.new(-1.5,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), mr(5), mr(-5)),--LeftArm
- CFrame.new(0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(5)), --RightLeg
- CFrame.new(-0.5,-1.4, -0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), 0, mr(-5)), --LeftLeg
- }, .3, false)
- elseif Mode == "Noob" or Mode == "Guest" then
- Anim = "Jump"
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0.3) * CFrame.Angles(mr(50), mr(0), mr(0)), ----- Head
- CFrame.new(1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(0)), --- RightArm
- CFrame.new(-1.5,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(0)),--LeftArm
- CFrame.new(0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(30)), --RightLeg
- CFrame.new(-0.8,-1.4, -1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(90), 0, mr(-30)), --LeftLeg
- }, .3, false)
- end
- elseif RootPart.Velocity.y < -1 and hit == nil and AnimEnabled == true then
- if Mode == "Guest666" then
- Anim = "Fall"
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
- CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0),0,mr(20)), --- RightArm
- CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(0), 0, mr(-20)),--LeftArm
- CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --RightLeg
- CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(2), 0, mr(2)), --LeftLeg
- }, .3, false)
- elseif Mode == "Guest" or Mode == "Noob" then
- Anim = "Fall"
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-10), 0, 0), -- Torso,
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, -0.4) * CFrame.Angles(mr(-50), mr(0), mr(0)), ----- Head
- CFrame.new(1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180),0,mr(90)), --- RightArm
- CFrame.new(-1.5,0.6,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(180), 0, mr(-90)),--LeftArm
- CFrame.new(0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(10)), --RightLeg
- CFrame.new(-0.6,-1.2, -0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), 0, mr(-10)), --LeftLeg
- }, .3, false)
- end
- elseif Torsovelocity < 1 and hit ~= nil and AnimEnabled == true then
- if Mode == "Guest666" then
- Anim = "Idle"
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-20), mr(0), 0), -- Torso,
- CFrame.new(0,1.2,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-50), mr(0), mr(10)), ----- Head
- 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
- 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
- CFrame.new(0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(26), mr(-5), mr(5)), --RightLeg
- CFrame.new(-0.6,-2,-0.4) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(20), mr(5), mr(-5)), --LeftLeg
- }, .3, false)
- elseif Mode == "Guest" or Mode == "Noob" then
- Anim = "Idle"
- change = 1
- PlayAnimationFromTable({
- CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(15), mr(0), 0), -- Torso,
- CFrame.new(0,1.3,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(50), mr(0), 0), ----- Head
- 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
- 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
- CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(-5), mr(5)), --RightLeg
- CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(mr(-15), mr(5), mr(-5)), --LeftLeg
- }, .3, false)
- end
- elseif Torsovelocity > 2 and hit ~= nil and AnimEnabled == true then
- if Mode == "Guest666" then
- Anim = "Walk"
- PlayAnimationFromTable({
- 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
- 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
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- elseif Mode == "Noob" or Mode == "Guest" then
- Anim = "Walk"
- PlayAnimationFromTable({
- 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
- CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2, 0+RootPart.RotVelocity.Y/20, 0), -- Head
- 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),
- 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),
- 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),
- 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),
- }, .3, false)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement