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,Mouse,mouse,UserInputService,ContextActionService = owner
- do
- script.Parent = Player.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,Connect=function(self,f)self.Function=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 and t.Function then
- t.Function(...)
- end
- end
- m.TrigEvent = te
- UIS.TrigEvent = te
- Event.OnServerEvent:Connect(function(plr,io)
- if plr~=Player then return end
- if io.isMouse then
- m.Target = io.Target
- m.Hit = io.Hit
- else
- 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 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})
- end
- UIS.InputBegan:Connect(input)
- UIS.InputEnded:Connect(input)
- local Mouse = Player:GetMouse()
- 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)
- Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
- end
- warn([[
- Project Turntable
- Over a new leaf..
- What next will you find?
- By DrakerMaker
- Soundtrack
- Balanced - Gloomy[Loop] "rbxassetid://145990499"
- VOID - Runmo - End of the Universe "rbxassetid://4441971665"
- INSANITY - Enigma SFX "rbxassetid://1837111398"
- Miraclistic - Servants of The Scourge "rbxassetid://2749617431"
- ]])
- function wbtwe(Part0, Part1, C0)
- local weld = Instance.new("Weld", Part0)
- weld.Part0 = Part0
- weld.Part1 = Part1
- weld.C0 = Part1.CFrame:inverse() *Part1.CFrame *C0
- return weld
- end
- idle = 5
- walk = 5
- deb = false
- animt = true
- mode = 1
- hrw = wbtwe(owner.Character.Torso, owner.Character.HumanoidRootPart, CFrame.new(0, 0, 0) *CFrame.Angles(0, 0, 0))
- law = wbtwe(owner.Character["Left Arm"], owner.Character.Torso, CFrame.new(1.5, 0, 0) *CFrame.Angles(0, 25, 0))
- raw = wbtwe(owner.Character["Right Arm"], owner.Character.Torso, CFrame.new(-1.5, 0, 0) *CFrame.Angles(0, 0, 0))
- llw = wbtwe(owner.Character["Left Leg"], owner.Character.HumanoidRootPart, CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25, 0))
- rlw = wbtwe(owner.Character["Right Leg"], owner.Character.HumanoidRootPart, CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0))
- hw = wbtwe(owner.Character.Head, owner.Character.Torso, CFrame.new(0, -1.5, 0) *CFrame.Angles(0, 0, 0))
- local BillboardGui = Instance.new("BillboardGui")
- local Frame = Instance.new("Frame")
- local Text = Instance.new("TextBox")
- BillboardGui.Name = "Type"
- BillboardGui.Parent = owner.Character.Head
- BillboardGui.Active = true
- BillboardGui.Size = UDim2.new(7.5, 0, 5, 0)
- BillboardGui.StudsOffset = Vector3.new(0, 6, 0)
- Frame.Name = "Framer"
- Frame.Parent = BillboardGui
- Frame.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame.BackgroundTransparency = 0.6
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.209999993, 0, 0.209999993, 0)
- Frame.Selectable = true
- Frame.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.Name = "Labeler"
- Text.Parent = Frame
- Text.BackgroundColor3 = Color3.new(0, 0, 0)
- Text.BackgroundTransparency = 1
- Text.BorderColor3 = Color3.new(0, 0, 0)
- Text.Position = UDim2.new(0.200000003, 0, 0.150000006, 0)
- Text.Size = UDim2.new(0.600000024, 0, 0.699999988, 0)
- Text.ClearTextOnFocus = false
- Text.Font = Enum.Font.SourceSans
- Text.MultiLine = true
- Text.Text = "Balanced"
- Text.TextColor3 = Color3.new(1, 1, 1)
- Text.TextScaled = true
- Text.TextSize = 14
- Text.TextStrokeTransparency = 0
- Text.TextWrapped = true
- TextRotate = 1
- local sound = Instance.new("Sound", owner.Character.Head)
- sound.Looped = true
- sound.SoundId = "rbxassetid://145990499"
- sound.Volume = 3
- sound:Play()
- attacktaunt = Instance.new("Sound", owner.Character.Head)
- attacktaunt.Volume = 8
- attacktaunt.SoundId = "rbxassetid://1718412034"
- spawn(function()
- while game:GetService("RunService").Stepped:wait() do
- if mode == 1 then
- llw.Part1 = owner.Character.HumanoidRootPart
- rlw.Part1 = owner.Character.HumanoidRootPart
- TextRotate = TextRotate +0.09
- Frame.Rotation = Frame.Rotation -math.cos(TextRotate) *0.3
- Text.Rotation = Text.Rotation +math.sin(TextRotate) *0.3
- end
- if mode == 2 then
- Frame.Rotation = math.random(-2, 2)
- Text.Rotation = math.random(-2, 2)
- Text.TextColor3 = BrickColor.new("Really black").Color
- Frame.BackgroundColor3 = BrickColor.new("Plum").Color
- llw.Part1 = owner.Character.Torso
- rlw.Part1 = owner.Character.Torso
- pick = math.random(1,5)
- if pick == 1 then
- Text.Text = ".̨͙̝̙̿͗͛̍͠.̛͗VOID .̨͙̝̙̿͗͛̍͠.̛͗.͈̃̌̃̀"
- end
- if pick == 2 then
- Text.Text = ".VOID ..͏̨̮̭̎̽ͤ́ͪ"
- end
- if pick == 3 then
- Text.Text = ".̮̮͍͑̏ͯ͝.̷̛̜̭̂͆ VOID .̮̮͍͑̏ͯ͝.͉"
- end
- if pick == 4 then
- Text.Text = ".̴̧̮̌͂̚.̸̵̢̠͚̻ͫ̎̓̍ VOID .̴̧̮̌͂̚.̸̠͚̻ͫ̎̓"
- end
- if pick == 5 then
- Text.Text = ".̻̀̊VOID.̳̓̓.̵͉͖̟͢͠ "
- end
- end
- if mode == 3 then
- llw.Part1 = owner.Character.HumanoidRootPart
- rlw.Part1 = owner.Character.HumanoidRootPart
- Frame.Rotation = math.random(-15, 15)
- Text.Rotation = math.random(-15, 15)
- Frame.BackgroundColor3 = BrickColor.Random().Color
- Text.TextColor3 = BrickColor.Random().Color
- end
- if mode == 4 then
- llw.Part1 = owner.Character.Torso
- rlw.Part1 = owner.Character.Torso
- Frame.Rotation = math.random(-2, 2)
- Text.Rotation = math.random(-2, 2)
- Text.TextColor3 = BrickColor.new("Institutional white").Color
- end
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key == "f" then
- if deb == false then
- deb = true
- mode = mode +1
- local explode = Instance.new("Part", workspace)
- explode.CFrame = owner.Character.Torso.CFrame *CFrame.Angles(math.random(-999, 999), math.random(-999, 999), math.random(-999, 999))
- explode.Material = "Neon"
- explode.Size = Vector3.new(5, 5, 5)
- explode.CanCollide = false
- explode.Anchored = true
- local soundexp = Instance.new("Sound", explode)
- soundexp.SoundId = "rbxassetid://814652778"
- soundexp.Volume = 8
- soundexp:Play()
- if mode == 2 then
- sound:Stop()
- sound.SoundId = "rbxassetid://4441971665"
- sound:Play()
- Text.Text = ".̸̷̺̹ VOID .̨͙̝̙̿͗͛̍͠ "
- warn([[
- Void
- "You've fallen. Straight into my trap!"
- ]])
- owner.Character.Humanoid.WalkSpeed = 26
- end
- if mode == 3 then
- sound:Stop()
- sound.SoundId = "rbxassetid://1837111398"
- sound:Play()
- Text.Text = "INSANITY"
- warn([[
- I N S A N I T Y
- "I F EEL N OTH IN G, I H A VE NO LI VE S L E FT, Y ET I ST IL L LI V E."
- ]])
- owner.Character.Humanoid.WalkSpeed = 9
- end
- if mode == 4 then
- sound:Stop()
- sound.SoundId = "rbxassetid://2749617431"
- sound:Play()
- Text.Text = "Miraclistic"
- warn([[
- Miraclistic
- "It's only a matter of time."
- ]])
- owner.Character.Humanoid.WalkSpeed = 46
- end
- deb = false
- for i = 1,75 do
- game:GetService("RunService").Stepped:wait()
- explode.CFrame = owner.Character.Torso.CFrame *CFrame.Angles(math.random(-999, 999), math.random(-999, 999), math.random(-999, 999))
- explode.Size = explode.Size +Vector3.new(1, 1, 1)
- explode.Transparency = explode.Transparency +0.05
- explode.Color = Frame.BackgroundColor3
- end
- explode:Destroy()
- end
- end
- if key == "e" then
- if deb == false then
- if mode == 2 then
- end
- if mode == 4 then
- attacktaunt:Play()
- deb = true
- animt = false
- for i = 1,20 do
- game:GetService("RunService").Stepped:Wait()
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 1) *CFrame.Angles(-1, 0, 0), 0.1)
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, 0, 0) , 0.2)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.34, 0.9, 0) *CFrame.Angles(2.85, 25.1, 0), 0.2)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.34, 0.9, 0) *CFrame.Angles(2.85, 0, 0), 0.2)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25.1, 0), 0.2)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.45, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.2)
- end
- for i = 1,20 do
- game:GetService("RunService").Stepped:Wait()
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, -1) *CFrame.Angles(1, 0, 0), 0.1)
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, 0, 0) , 0.2)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.34, 0, 0) *CFrame.Angles(0, 25.1, 0), 0.2)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.34, 0, 0) *CFrame.Angles(0, 0, 0), 0.2)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25.1, 0), 0.2)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.45, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.2)
- end
- local explode = Instance.new("Part", workspace)
- explode.CFrame = mouse.Hit *CFrame.Angles(math.random(-999, 999), math.random(-999, 999), math.random(-999, 999))
- explode.Material = "Neon"
- explode.Size = Vector3.new(5, 5, 5)
- explode.CanCollide = false
- explode.Anchored = true
- local soundexp = Instance.new("Sound", explode)
- soundexp.SoundId = "rbxassetid://814652778"
- soundexp.Volume = 5
- soundexp:Play()
- animt = true
- deb = false
- explode.Touched:connect(function(p)
- if p.Parent:FindFirstChildOfClass("Humanoid") then
- if explode.Transparency < 1 then
- if p.Parent.Name ~= owner.Name then
- p.Parent:BreakJoints()
- end
- end
- end
- end)
- for i = 1,175 do
- game:GetService("RunService").Stepped:wait()
- explode.CFrame = explode.CFrame *CFrame.Angles(math.random(-999, 999), math.random(-999, 999), math.random(-999, 999))
- explode.Size = explode.Size +Vector3.new(2, 2, 2)
- explode.Transparency = explode.Transparency +0.02
- explode.Color = Frame.BackgroundColor3
- end
- explode:Destroy()
- end
- end
- end
- end)
- anim = coroutine.wrap(function()
- while game:GetService("RunService").Stepped:wait() do
- if animt == true then
- if mode == 1 then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, math.cos(idle) *0.3, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, math.cos(walk) *0.3, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, math.cos(idle) *0.3, math.sin(walk) *0.3) *CFrame.Angles(math.sin(walk) *0.3, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, math.cos(idle) *0.3, math.sin(walk) *-0.3) *CFrame.Angles(math.sin(walk) *-0.3, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(math.sin(walk) *-0.3, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, math.sin(walk) *-0.3) *CFrame.Angles(math.sin(walk) *0.3, 0, 0), 0.1)
- end
- end
- if mode == 2 then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(idle) *0.2, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 25, 0.2), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 0, -0.2), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 1.7, 0.6) *CFrame.Angles(0, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(walk) *0.2, math.cos(walk) *0.6) *CFrame.Angles(0.3, 0, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0.3) *CFrame.Angles(-0.3, 0, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- end
- end
- if mode == 2 then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(idle) *0.2, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 25, 0.2), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 0, -0.2), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 1.7, 0.6) *CFrame.Angles(0, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(walk) *0.2, math.cos(walk) *0.2) *CFrame.Angles(0.3, 0, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0, -1.5, 0.3) *CFrame.Angles(-0.3, 0, 0), 0.1)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- end
- end
- if mode == 3 then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, math.cos(idle) *0.6, 0.3) *CFrame.Angles(0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.45, -0.8) *CFrame.Angles(0.8+math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0.2, 0.3) *CFrame.Angles(-0.3 +math.rad(math.random(-1,1)), 25 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0.2, 0.3) *CFrame.Angles(-0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, 0) *CFrame.Angles(0, 25, 0), 0.5)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, 0) *CFrame.Angles(0,0,0), 0.5)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 0.3) *CFrame.Angles(0.3 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.45, -0.8) *CFrame.Angles(0.8+math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(1.5, 0.2, math.cos(-walk) *-0.7) *CFrame.Angles(math.cos(walk) *0.7 +math.rad(math.random(-1,1)), 25 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-1.5, 0.2, math.cos(-walk) *0.7) *CFrame.Angles(math.cos(walk) *-0.7 +math.rad(math.random(-1,1)), math.rad(math.random(-1,1)), math.rad(math.random(-1,1))), 0.5)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0.5, 2.1, math.cos(walk) *0.4) *CFrame.Angles(math.cos(-walk) *0.7, 25, 0), 0.5)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(-0.5, 2.1, math.cos(-walk) *0.4) *CFrame.Angles(math.cos(-walk) *-0.7, 0, 0), 0.5)
- end
- end
- if mode == 4 then
- if owner.Character.HumanoidRootPart.Velocity.Magnitude < 1 then
- idle = idle +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(idle) *0.2, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.5, 0) *CFrame.Angles(0+math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))), 0.5)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 25, 0.2), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5, math.cos(idle) *0.3, 0) *CFrame.Angles(0, 0, -0.2), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 1.7, 0.6) *CFrame.Angles(0, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0, 0, 0), 0.1)
- end
- if owner.Character.HumanoidRootPart.Velocity.Magnitude > 1 then
- walk = walk +0.1
- hrw.C0 = hrw.C0:lerp(owner.Character.HumanoidRootPart.CFrame:inverse() *owner.Character.HumanoidRootPart.CFrame *CFrame.new(0, -2 + math.sin(walk) *0.2, math.cos(walk) *0.2) *CFrame.Angles(0.3, 0, 0), 0.1)
- hw.C0 = hw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame * CFrame.new(0, -1.5, 0) *CFrame.Angles(0+math.rad(math.random(-3,3)), math.rad(math.random(-3,3)), math.rad(math.random(-3,3))), 0.5)
- law.C0 = law.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- raw.C0 = raw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-1.5 , math.cos(idle) *0.3, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- llw.C0 = llw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(0.45, 2.1, 0) *CFrame.Angles(0.5, 25, 0), 0.1)
- rlw.C0 = rlw.C0:lerp(owner.Character.Torso.CFrame:inverse() *owner.Character.Torso.CFrame *CFrame.new(-0.4, 2.1, 0) *CFrame.Angles(0.5, 0, 0), 0.1)
- end
- end
- end
- end
- end)anim()
- spawn(function()
- local TweenService = game:GetService("TweenService")
- local Colours = {Color3.fromRGB(255,0,0),Color3.fromRGB(255,255,0),Color3.fromRGB(0,255,0),Color3.fromRGB(0,0,255),Color3.fromRGB(170,0,170)}
- local Int = 0
- while wait(0.2) do
- if mode == 4 then
- if Int == #Colours then Int = 0 end
- Int = Int+1
- TweenService:Create(Frame,TweenInfo.new(0.4),{BackgroundColor3 = Colours[Int]}):Play()
- end
- end
- end)
- owner.Chatted:connect(function(m)
- if m == "~stopscr" then
- sound.PlayOnRemove = false
- sound:Stop()
- script:Destroy()
- end
- end)
- NLS([[
- while game:GetService("RunService").RenderStepped:wait() do
- if owner.Character.Head.Type.Framer.Labeler.Text == "INSANITY" then
- workspace.CurrentCamera.CFrame=workspace.CurrentCamera.CFrame*CFrame.Angles(math.random(-3,3)/360,math.random(-3,3)/360,math.random(-3,3)/360)
- end
- end
- ]], owner.Character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement