Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- This script has been converted to FE by iPxter 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 print("FE Compatibility code by Mokiros | Translated to FE by iPxter") 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
- wait(1)
- local p = game:GetService("Players")
- pp = silver22352
- local ChatService = game:GetService("Chat")
- local skidspace = game:GetService("Workspace") --This is a script intended for script builder
- plr = skidspace[pp.Name] --You have to deal with all this idiots; Just like school.
- local hum = plr:FindFirstChildOfClass("Humanoid")
- hum.WalkSpeed = 11.5*6
- hum.DisplayDistanceType = "None"
- function ChatFunction(loc, msg)
- local ChatGuiPart1 = Instance.new("BillboardGui",loc)
- ChatGuiPart1.Name = "ChatGui"
- ChatGuiPart1.AlwaysOnTop = true
- ChatGuiPart1.ExtentsOffset = Vector3.new(0, 5, 0)
- ChatGuiPart1.Size = UDim2.new(0, 200, 0, 50)
- local ChatGuiPart2 = Instance.new("TextLabel")
- ChatGuiPart2.BorderColor3 = Color3.new(1, 0, 0)
- ChatGuiPart2.BorderSizePixel = 3
- ChatGuiPart2.BackgroundColor3 = Color3.new(255, 255, 255)
- ChatGuiPart2.Size = UDim2.new(0, 200, 0, 50)
- ChatGuiPart2.Font = Enum.Font.Arcade
- ChatGuiPart2.FontSize = Enum.FontSize.Size14
- ChatGuiPart2.TextColor3 = Color3.new(1, 0, 0)
- ChatGuiPart2.TextWrapped = true
- ChatGuiPart2.Parent = ChatGuiPart1
- ChatGuiPart2.Text = msg
- wait()
- --ChatGuiPart1:Destroy()
- end
- --------------------------------------------------
- --186942568
- local theme = Instance.new("Sound",pp.Character)
- theme.Name = "Girei"
- theme.SoundId = "rbxassetid://324905722"
- theme.Volume = 3
- theme.Looped = true
- theme:Play()
- --------------------------------------------------
- for _,v in pairs(plr:GetChildren()) do
- if v:IsA("Accessory") or v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
- v:Destroy()
- end
- end
- bc = plr["Body Colors"]
- black = BrickColor.new("Really black")
- bc.LeftArmColor = black
- bc.LeftLegColor = black
- bc.RightArmColor = black
- bc.RightLegColor = black
- bc.TorsoColor = black
- bc.HeadColor = black
- sbt = Instance.new("SelectionBox",plr.Torso)
- sbt.Adornee = sbt.Parent
- sbt.LineThickness = 0.01
- sbra = Instance.new("SelectionBox",plr["Right Arm"])
- sbra.Adornee = sbra.Parent
- sbra.LineThickness = 0.01
- sbla = Instance.new("SelectionBox",plr["Left Arm"])
- sbla.Adornee = sbla.Parent
- sbla.LineThickness = 0.01
- sbrl = Instance.new("SelectionBox",plr["Right Leg"])
- sbrl.Adornee = sbrl.Parent
- sbrl.LineThickness = 0.01
- sbll = Instance.new("SelectionBox",plr["Left Leg"])
- sbll.Adornee = sbll.Parent
- sbll.LineThickness = 0.01
- --sbh = Instance.new("SelectionBox",plr.Head)
- --sbh.Adornee = sbh.Parent
- sbt.Color3 = Color3.new(math.random(), math.random(), math.random())
- sbra.Color3 = Color3.new(math.random(), math.random(), math.random())
- sbla.Color3 = Color3.new(math.random(), math.random(), math.random())
- sbrl.Color3 = Color3.new(math.random(), math.random(), math.random())
- sbll.Color3 = Color3.new(math.random(), math.random(), math.random())
- --sbh.Color3 = Color3.new(math.random(), math.random(), math.random())
- local Title1 = Instance.new("BillboardGui",plr.Head)
- Title1.Adornee = plr.Head
- Title1.AlwaysOnTop = true
- Title1.Size = UDim2.new(0, 200, 0, 50)
- local Title2 = Instance.new("TextLabel")
- Title2.BackgroundTransparency = 1
- Title2.Position = UDim2.new(0, 0, -0.899999976, 0)
- Title2.Size = UDim2.new(0, 200, 0, 50)
- Title2.Font = Enum.Font.Arcade
- Title2.FontSize = Enum.FontSize.Size24
- Title2.Text = "Demon of Insanity"
- Title2.TextColor3 = Color3.new(1, 0, 0)
- Title2.TextScaled = true
- Title2.TextWrapped = true
- Title2.Parent = Title1
- --Commented neatness stops here, along with all other forms of organization.
- for i = 1,50 do
- wait(0.0005)
- game:GetService("Lighting").Brightness = game:GetService("Lighting").Brightness - 0.2
- end
- ChatFunction(pp.Character.Head, "The Demon of Insanity has arrived, this world is now mine.")
- wait(3)
- pp.Character.Head.ChatGui:Destroy()
- --game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "My incarnation is complete. The Demon of Insanity is here.","Red")
- game:GetService("Lighting").Brightness = 0
- function md()
- ChatFunction(pp.Character.Head, "This world shall be rid of all sanity!")
- --game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "This world shall be rid of all sanity!","Red")
- game:GetService("Lighting").Ambient = Color3.new(255/255, 0/255, 0,255)
- game:GetService("Lighting").TimeOfDay = 24000004
- local destruction = Instance.new("Part")
- destruction.Touched:connect(function(hit)
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name then
- else
- hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
- end
- end
- end)
- destruction.Parent = plr
- destruction.Material = Enum.Material.Ice
- destruction.BrickColor = BrickColor.new("Maroon")
- destruction.Transparency = 0.25
- destruction.CFrame = plr["Right Arm"].CFrame
- destruction.Shape = Enum.PartType.Ball
- destruction.Size = Vector3.new(4, 4, 4)
- destruction.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- destruction.CanCollide = false
- destruction.Color = Color3.new(0.458824, 0, 0)
- local bp = Instance.new("BodyPosition",destruction)
- bp.MaxForce = Vector3.new(10000, 10000, 10000)
- position = mouse.Hit
- bp.Position = mouse.Hit.p
- wait(2.5)
- destruction.Anchored = true
- local boom = Instance.new("Sound",pp.Character)
- boom.SoundId = "rbxassetid://144699494"
- boom.Pitch = 0.45
- boom:Play()
- boom.Volume = 10
- for i = 1,75 do
- wait(0.00005)
- destruction.CFrame = position
- destruction.Size = Vector3.new(4, 4, 4) * i*0.75
- destruction.CFrame = position
- destruction.Transparency = 0.25 * (i/18)
- end
- pp.Character.Head.ChatGui:Destroy()
- destruction:Destroy()
- end
- mouse.KeyDown:connect(function(key)
- if key == "q" then
- md()
- end
- end)
- local player = silver22352
- local pchar = player.Character
- local cam = workspace.CurrentCamera
- root = plr.HumanoidRootPart
- local rad = math.rad
- bodyparts = {}
- local keysDown = {}
- local flySpeed = 0
- local MAX_FLY_SPEED = 150
- local canFly = false
- local flyToggled = false
- local forward, side = 0, 0
- local lastForward, lastSide = 0, 0
- local floatBP = Instance.new("BodyPosition")
- floatBP.maxForce = Vector3.new(0, math.huge, 0)
- local flyBV = Instance.new("BodyVelocity")
- flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local turnBG = Instance.new("BodyGyro")
- turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- mouse.KeyDown:connect(function(key)
- keysDown[key] = true
- if key == "f" then
- flyToggled = not flyToggled
- if not flyToggled then
- stanceToggle = "Normal"
- floatBP.Parent = nil
- flyBV.Parent = nil
- turnBG.Parent = nil
- root.Velocity = Vector3.new()
- pchar:FindFirstChildOfClass("Humanoid").PlatformStand = false
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- keysDown[key] = nil
- end)
- local function updateFly()
- if not flyToggled then return end
- lastForward = forward
- lastSide = side
- forward = 0
- side = 0
- if keysDown.w then
- forward = forward + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement