Advertisement
Silver_cole

Untitled

Jul 4th, 2019
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.06 KB | None | 0 0
  1. -- 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
  2.  
  3. wait(1)
  4.  
  5. local p = game:GetService("Players")
  6.  
  7. pp = silver22352
  8.  
  9. local ChatService = game:GetService("Chat")
  10.  
  11. local mouse = pp:GetMouse()
  12.  
  13. local skidspace = game:GetService("Workspace") --This is a script intended for script builder
  14.  
  15. plr = skidspace[pp.Name] --You have to deal with all this idiots; Just like school.
  16.  
  17. local hum = plr:FindFirstChildOfClass("Humanoid")
  18.  
  19. hum.WalkSpeed = 11.5*6
  20.  
  21. hum.DisplayDistanceType = "None"
  22.  
  23. function ChatFunction(loc, msg)
  24.  
  25.     local ChatGuiPart1 = Instance.new("BillboardGui",loc)
  26.  
  27.     ChatGuiPart1.Name = "ChatGui"
  28.  
  29.     ChatGuiPart1.AlwaysOnTop = true
  30.  
  31.     ChatGuiPart1.ExtentsOffset = Vector3.new(0, 5, 0)
  32.  
  33.     ChatGuiPart1.Size = UDim2.new(0, 200, 0, 50)
  34.  
  35.     local ChatGuiPart2 = Instance.new("TextLabel")
  36.  
  37.     ChatGuiPart2.BorderColor3 = Color3.new(1, 0, 0)
  38.  
  39.     ChatGuiPart2.BorderSizePixel = 3
  40.  
  41.     ChatGuiPart2.BackgroundColor3 = Color3.new(255, 255, 255)
  42.  
  43.     ChatGuiPart2.Size = UDim2.new(0, 200, 0, 50)
  44.  
  45.     ChatGuiPart2.Font = Enum.Font.Arcade
  46.  
  47.     ChatGuiPart2.FontSize = Enum.FontSize.Size14
  48.  
  49.     ChatGuiPart2.TextColor3 = Color3.new(1, 0, 0)
  50.  
  51.     ChatGuiPart2.TextWrapped = true
  52.  
  53.     ChatGuiPart2.Parent = ChatGuiPart1
  54.  
  55.     ChatGuiPart2.Text = msg
  56.  
  57.     wait()
  58.  
  59.     --ChatGuiPart1:Destroy()
  60.  
  61. end
  62.  
  63.  
  64.  
  65. --------------------------------------------------
  66.  
  67. --186942568
  68.  
  69. local theme = Instance.new("Sound",pp.Character)
  70.  
  71. theme.Name = "Girei"
  72.  
  73. theme.SoundId = "rbxassetid://324905722"
  74.  
  75. theme.Volume = 3
  76.  
  77. theme.Looped = true
  78.  
  79. theme:Play()
  80.  
  81.  
  82.  
  83. --------------------------------------------------
  84.  
  85.  
  86.  
  87. for _,v in pairs(plr:GetChildren()) do
  88.  
  89.     if v:IsA("Accessory") or v:IsA("Hat") or v:IsA("Shirt") or v:IsA("Pants") or v:IsA("CharacterMesh") then
  90.  
  91.         v:Destroy()
  92.  
  93.     end
  94.  
  95. end
  96.  
  97.  
  98.  
  99. bc = plr["Body Colors"]
  100.  
  101. black = BrickColor.new("Really black")
  102.  
  103. bc.LeftArmColor = black
  104.  
  105. bc.LeftLegColor = black
  106.  
  107. bc.RightArmColor = black
  108.  
  109. bc.RightLegColor = black
  110.  
  111. bc.TorsoColor = black
  112.  
  113. bc.HeadColor = black
  114.  
  115.  
  116.  
  117. sbt = Instance.new("SelectionBox",plr.Torso)
  118.  
  119. sbt.Adornee = sbt.Parent
  120.  
  121. sbt.LineThickness = 0.01
  122.  
  123. sbra = Instance.new("SelectionBox",plr["Right Arm"])
  124.  
  125. sbra.Adornee = sbra.Parent
  126.  
  127. sbra.LineThickness = 0.01
  128.  
  129. sbla = Instance.new("SelectionBox",plr["Left Arm"])
  130.  
  131. sbla.Adornee = sbla.Parent
  132.  
  133. sbla.LineThickness = 0.01
  134.  
  135. sbrl = Instance.new("SelectionBox",plr["Right Leg"])
  136.  
  137. sbrl.Adornee = sbrl.Parent
  138.  
  139. sbrl.LineThickness = 0.01
  140.  
  141. sbll = Instance.new("SelectionBox",plr["Left Leg"])
  142.  
  143. sbll.Adornee = sbll.Parent
  144.  
  145. sbll.LineThickness = 0.01
  146.  
  147. --sbh = Instance.new("SelectionBox",plr.Head)
  148.  
  149. --sbh.Adornee = sbh.Parent
  150.  
  151.  
  152.  
  153.  
  154.  
  155. sbt.Color3 = Color3.new(math.random(), math.random(), math.random())
  156.  
  157. sbra.Color3 = Color3.new(math.random(), math.random(), math.random())
  158.  
  159. sbla.Color3 = Color3.new(math.random(), math.random(), math.random())
  160.  
  161. sbrl.Color3 = Color3.new(math.random(), math.random(), math.random())
  162.  
  163. sbll.Color3 = Color3.new(math.random(), math.random(), math.random())
  164.  
  165. --sbh.Color3 = Color3.new(math.random(), math.random(), math.random())
  166.  
  167.     local Title1 = Instance.new("BillboardGui",plr.Head)
  168.  
  169.     Title1.Adornee = plr.Head
  170.  
  171.     Title1.AlwaysOnTop = true
  172.  
  173.     Title1.Size = UDim2.new(0, 200, 0, 50)
  174.  
  175.     local Title2 = Instance.new("TextLabel")
  176.  
  177.     Title2.BackgroundTransparency = 1
  178.  
  179.     Title2.Position = UDim2.new(0, 0, -0.899999976, 0)
  180.  
  181.     Title2.Size = UDim2.new(0, 200, 0, 50)
  182.  
  183.     Title2.Font = Enum.Font.Arcade
  184.  
  185.     Title2.FontSize = Enum.FontSize.Size24
  186.  
  187.     Title2.Text = "Demon of Insanity"
  188.  
  189.     Title2.TextColor3 = Color3.new(1, 0, 0)
  190.  
  191.     Title2.TextScaled = true
  192.  
  193.     Title2.TextWrapped = true
  194.  
  195.     Title2.Parent = Title1
  196.  
  197.  
  198.  
  199. --Commented neatness stops here, along with all other forms of organization.
  200.  
  201.  
  202.  
  203. for i = 1,50 do
  204.  
  205.     wait(0.0005)
  206.  
  207.     game:GetService("Lighting").Brightness = game:GetService("Lighting").Brightness - 0.2
  208.  
  209. end
  210.  
  211.     ChatFunction(pp.Character.Head, "The Demon of Insanity has arrived, this world is now mine.")
  212.  
  213.     wait(3)
  214.  
  215.     pp.Character.Head.ChatGui:Destroy()
  216.  
  217.     --game:GetService("Chat"):Chat(game.Players.LocalPl
  218.  
  219. game:GetService("Lighting").Brightness = 0
  220.  
  221.  
  222.  
  223. function md()
  224.  
  225.     ChatFunction(pp.Character.Head, "This world shall be rid of all sanity!")  
  226.  
  227.     --game:GetService("Chat"):Chat(game.Players.LocalPlayer.Character, "This world shall be rid of all sanity!","Red")
  228.  
  229.     game:GetService("Lighting").Ambient = Color3.new(255/255, 0/255, 0,255)
  230.  
  231.     game:GetService("Lighting").TimeOfDay = 24000004
  232.  
  233. local destruction = Instance.new("Part")
  234.  
  235. destruction.Touched:connect(function(hit)
  236.  
  237.     if hit.Parent:FindFirstChildOfClass("Humanoid") then
  238.  
  239.         if hit.Parent.Name == pp.Name or hit.Parent.Parent.Name == pp.Name then
  240.  
  241.         else
  242.  
  243.         hit.Parent:FindFirstChildOfClass("Humanoid").Health = 0
  244.  
  245. end
  246.  
  247.     end
  248.  
  249. end)
  250.  
  251. destruction.Parent = plr
  252.  
  253. destruction.Material = Enum.Material.Ice
  254.  
  255. destruction.BrickColor = BrickColor.new("Maroon")
  256.  
  257. destruction.Transparency = 0.25
  258.  
  259. destruction.CFrame = plr["Right Arm"].CFrame
  260.  
  261. destruction.Shape = Enum.PartType.Ball
  262.  
  263. destruction.Size = Vector3.new(4, 4, 4)
  264.  
  265. destruction.BackSurface = Enum.SurfaceType.SmoothNoOutlines
  266.  
  267. destruction.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
  268.  
  269. destruction.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
  270.  
  271. destruction.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
  272.  
  273. destruction.RightSurface = Enum.SurfaceType.SmoothNoOutlines
  274.  
  275. destruction.TopSurface = Enum.SurfaceType.SmoothNoOutlines
  276.  
  277. destruction.CanCollide = false
  278.  
  279. destruction.Color = Color3.new(0.458824, 0, 0)
  280.  
  281. local bp = Instance.new("BodyPosition",destruction)
  282.  
  283. bp.MaxForce = Vector3.new(10000, 10000, 10000)
  284.  
  285. position = mouse.Hit
  286.  
  287. bp.Position = mouse.Hit.p
  288.  
  289. wait(2.5)
  290.  
  291. destruction.Anchored = true
  292.  
  293. local boom = Instance.new("Sound",pp.Character)
  294.  
  295. boom.SoundId = "rbxassetid://144699494"
  296.  
  297. boom.Pitch = 0.45
  298.  
  299. boom:Play()
  300.  
  301. boom.Volume = 10
  302.  
  303. for i = 1,75 do
  304.  
  305.     wait(0.00005)
  306.  
  307. destruction.CFrame = position
  308.  
  309. destruction.Size = Vector3.new(4, 4, 4) * i*0.75
  310.  
  311. destruction.CFrame = position
  312.  
  313. destruction.Transparency = 0.25 * (i/18)
  314.  
  315. end
  316.  
  317.     pp.Character.Head.ChatGui:Destroy()
  318.  
  319. destruction:Destroy()
  320.  
  321. end
  322.  
  323.  
  324.  
  325.  
  326.  
  327. mouse.KeyDown:connect(function(key)
  328.  
  329.     if key == "q" then
  330.  
  331.         md()
  332.  
  333.     end
  334.  
  335. end)
  336.  
  337.  
  338.  
  339.  
  340.  
  341.  
  342.  
  343. local player = silver22352
  344.  
  345. local pchar = player.Character
  346.  
  347. local mouse = player:GetMouse()
  348.  
  349. local cam = workspace.CurrentCamera
  350.  
  351. root = plr.HumanoidRootPart
  352.  
  353.  
  354.  
  355. local rad = math.rad
  356.  
  357. bodyparts = {}
  358.  
  359. local keysDown = {}
  360.  
  361. local flySpeed = 0
  362.  
  363. local MAX_FLY_SPEED = 150
  364.  
  365.  
  366.  
  367. local canFly = false
  368.  
  369. local flyToggled = false
  370.  
  371.  
  372.  
  373. local forward, side = 0, 0
  374.  
  375. local lastForward, lastSide = 0, 0
  376.  
  377.  
  378.  
  379. local floatBP = Instance.new("BodyPosition")
  380.  
  381. floatBP.maxForce = Vector3.new(0, math.huge, 0)
  382.  
  383. local flyBV = Instance.new("BodyVelocity")
  384.  
  385. flyBV.maxForce = Vector3.new(9e9, 9e9, 9e9)
  386.  
  387. local turnBG = Instance.new("BodyGyro")
  388.  
  389. turnBG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  390.  
  391.  
  392.  
  393. mouse.KeyDown:connect(function(key)
  394.  
  395.         keysDown[key] = true
  396.  
  397.  
  398.  
  399.         if key == "f" then
  400.  
  401.                 flyToggled = not flyToggled
  402.  
  403.  
  404.  
  405.         if not flyToggled then
  406.  
  407.                 stanceToggle = "Normal"
  408.  
  409.                 floatBP.Parent = nil
  410.  
  411.                 flyBV.Parent = nil
  412.  
  413.                 turnBG.Parent = nil
  414.  
  415.                 root.Velocity = Vector3.new()
  416.  
  417.                 pchar:FindFirstChildOfClass("Humanoid").PlatformStand = false
  418.  
  419.         end
  420.  
  421. end
  422.  
  423.  
  424.  
  425. end)
  426.  
  427. mouse.KeyUp:connect(function(key)
  428.  
  429.         keysDown[key] = nil
  430.  
  431. end)
  432.  
  433.  
  434.  
  435. local function updateFly()
  436.  
  437.    
  438.  
  439.    
  440.  
  441.    
  442.  
  443.  
  444.  
  445.         if not flyToggled then return end
  446.  
  447.  
  448.  
  449.         lastForward = forward
  450.  
  451.         lastSide = side
  452.  
  453.  
  454.  
  455.         forward = 0
  456.  
  457.         side = 0
  458.  
  459.  
  460.  
  461.         if keysDown.w then
  462.  
  463.                 forward = forward + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement