Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait(0.00001)
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character
- --- MADE BY OOKYAMA, GIVE CREDIT! :)
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole & Fireboltofdeath");print("https://github.com/WaverlyCole/FE-Compatibility-VoidSb-")
- local Wrapper = {};Wrapper.Fake = {};Wrapper.Real = {};Wrapper.Data = {};
- local sGame = game;local sScript = script;local sOwner = owner;local sInstance = Instance;local sLoadLibrary = LoadLibrary
- Wrapper.Event = Instance.new("RemoteEvent");Wrapper.Event.Name = "UserInput";
- Wrapper.CreateObject = function(connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- Wrapper.Mouse = Wrapper.CreateObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- Wrapper.UserInputService = Wrapper.CreateObject({"InputBegan","InputEnded"},{})
- Wrapper.ContextActionService = {Actions={};BindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end;UnBindAction = function(self,actionName,Func,touch,...)self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};
- Wrapper.Sandbox = function(...)
- local Unwrap = {...};
- for obi = 1,#Unwrap do
- local Object = Unwrap[obi];
- if (Wrapper.Fake[Object] == nil and Wrapper.Real[Object] == nil) then
- local Type = typeof(Object);local Replacement = Object;
- if (Type == "function") then
- Replacement = function(...)
- local IsRoblox = not (pcall(function() string.dump(Object) end))
- if IsRoblox then
- return Object(Wrapper.Unsandbox(...))
- end
- return Object(Wrapper.Sandbox(...))
- end
- elseif (Type == "table") then
- Replacement = {};
- setmetatable(Replacement, {
- __index = function(self, i)
- return Wrapper.Sandbox(Object[Wrapper.Unsandbox(i)])
- end,
- __newindex = function(self,i,v)
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v)
- end;
- })
- elseif (Type == "Instance") then
- Replacement = newproxy(true);
- local Mt = getmetatable(Replacement);
- Mt.__namecall = function(self, ...)
- local Pack = {...};local Name = Pack[#Pack];table.remove(Pack, #Pack);
- local Rest = nil;pcall(function()Rest = Object[Name];end);
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (Name == str) then
- if typeof(v) == "function" then
- return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(unpack(Pack)) then return Wrapper.Sandbox(sGame):GetService(unpack(Pack))end;
- return Wrapper.Sandbox(Object[Name]);
- elseif (typeof(Rest) == "function") then
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(unpack(Pack))))
- end
- return Wrapper.Sandbox(Object[Name]);
- end
- Mt.__index = function(self, i)
- local Rest = nil;pcall(function()Rest = Object[i];end)
- for g, x in pairs (Wrapper.InstanceMT["GET"]) do
- if (Object:IsA(g) or g == "Global") then
- for t, v in pairs(x) do
- for str in string.gmatch(t .. ",", "(%w+),") do
- if (i == str) then
- if typeof(v) == "function" then
- return function(...)return Wrapper.Sandbox(v(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))end;
- else
- return v;
- end
- end
- end
- end
- end
- end
- if (Object:IsA("Sound") and i == "PlaybackLoudness") then return Wrapper.SoundLoudness[Wrapper.Unsandbox(Object)];end;
- if (Rest == nil) then
- if Wrapper.Sandbox(sGame):GetService(i) then return Wrapper.Sandbox(sGame):GetService(i)end;
- return Wrapper.Sandbox(Object[i]);
- elseif (typeof(Rest) == "function") then
- local isService,Service = pcall(function() return sGame:GetService(i) end)
- if isService and Service then return Wrapper.Sandbox(Service) end
- return function(self, ...)
- return Wrapper.Sandbox(Rest(Wrapper.Unsandbox(self), Wrapper.Unsandbox(...)))
- end
- end
- return Wrapper.Sandbox(Object[i]);
- end
- Mt.__newindex = function(self, i, v)
- for g,x in pairs (Wrapper.InstanceMT["SET"]) do
- if (Object:IsA(g)) then
- for t, v in pairs(x) do
- for str in string.gmatch( t .. ",", "(%w+),") do
- if v(Wrapper.Unsandbox(self, i, v)) == true then
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);return
- end
- end
- end
- end
- end
- Object[Wrapper.Unsandbox(i)] = Wrapper.Unsandbox(v);
- end
- Mt.__tostring = function(self) return tostring(Object) end
- --elseif (Type == "") then -- Etc
- end
- Wrapper.Fake[Object] = Replacement;Wrapper.Real[Replacement] = Object;Unwrap[obi] = Replacement;
- else
- return Wrapper.Fake[Object] or Object;
- end
- end
- return unpack(Unwrap);
- end
- Wrapper.Unsandbox = function(...)
- local Unsandbox = {...};
- for i,v in pairs (Unsandbox) do Unsandbox[i] = Wrapper.Real[v] or Unsandbox[i]end;
- return unpack(Unsandbox)
- end
- Wrapper.Services = {
- ['contextactionservice'] = Wrapper.ContextActionService;
- ["userinputservice"] = Wrapper.UserInputService;
- }
- Wrapper.InstanceMT = {
- ["GET"] = {
- ["Global"] = {
- ["IsFake,isFake"] = function(self)return true;end;
- };
- ["Player"] = {
- ["mouse,Mouse,getMouse,GetMouse"] = function(self)return Wrapper.Mouse;end;
- };
- ["Players"] = {
- ["localPlayer,LocalPlayer"] = Wrapper.Sandbox(owner)
- };
- ["DataModel"] = {
- ["getService,GetService"] = function(self,service)
- if Wrapper.Services[service:lower()] then return Wrapper.Sandbox(Wrapper.Services[service:lower()])end;
- return Wrapper.Sandbox(sGame:GetService(service))
- end
- };
- ["RunService"] = {
- ["renderstepped,renderStepped,RenderStepped"] = sGame:GetService("RunService").Stepped;
- }
- };
- ["SET"] = {
- }
- }
- Wrapper.SoundLoudness = {};
- Wrapper.Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= sOwner then return end
- if Input.MouseEvent then
- Wrapper.Mouse.Target = Input.Target;Wrapper.Mouse.Hit = Input.Hit;Wrapper.Mouse:TriggerEvent("Move")
- elseif Input.Sound then
- if Wrapper.SoundLoudness[Input.Sound] then Wrapper.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Wrapper.Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Wrapper.Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
- for _,Action in pairs(Wrapper.ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Wrapper.Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());Wrapper.UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end);
- Wrapper.Event.Parent = NLS([[
- local Player = owner;local Sounds = {};local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end;
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" and Args[2]:IsA("Sound") then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target;while wait(1/30) do
- for x,Sound in pairs(Sounds) do if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end; end;
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end]],sOwner.Character)
- Instance = {
- ["new"] = function(Type,Parent)
- local Real = sInstance.new(Type,Wrapper.Unsandbox(Parent))
- if Type:lower() == "sound" then
- if not Parent then
- Parent = sOwner.Character
- end
- Wrapper.SoundLoudness[Real] = 0;Wrapper.Event:FireClient(sOwner,{"NewSound",Real})
- end
- return Wrapper.Sandbox(Real)
- end
- }
- LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type) return function(Data)
- Data = Data or {};local Inst = Instance.new(Type)
- for x,y in pairs(Data) do Inst[x] = y end
- return Inst
- end;end;
- end
- return sLoadLibrary(Library)[Index]
- end})
- end
- return sLoadLibrary(Library)
- end
- owner = Wrapper.Sandbox(owner);game = Wrapper.Sandbox(game)workspace = Wrapper.Sandbox(workspace)
- Game= game;Workspace = workspace;
- --//Paste script below this line.
- 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