Advertisement
basbas1234

Dio Script [LS]

Aug 18th, 2019
2,109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 12.04 KB | None | 0 0
  1. local CurrentUser = script:WaitForChild("Owner") local Detector = CurrentUser:WaitForChild("Detector") CurrentUser.Value = game.Players:GetPlayerFromCharacter(script.Parent) if (CurrentUser or Detector) == nil then print("Not Found Default Variables"); return end if game:GetService("RunService"):IsClient() then error("Write rls/ to activate this script.") end; print("FE Compatibility version LoadString: by basbas1234"); InternalData = {} do local Event = Instance.new("RemoteEvent"); Event.Name = "UserInput" local function NewFakeEvent() local Bind = Instance.new("BindableEvent") local Fake;Fake = {Connections = {}, fakeEvent=true; Connect=function(self,Func) Bind.Event:connect(Func) self.Connections[Bind] = true return setmetatable({Connected = true},{ __index = function (self,Index) if Index:lower() == "disconnect" then return function() Fake.Connections[Bind] = false;self.Connected = false end end return Fake[Index] end; __tostring = function() return "Connection" end; }) end} Fake.connect = Fake.Connect;return Fake; end local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil end};ContextActionService.UnBindAction = ContextActionService.BindAction local function TriggerEvent(self,Event,...) local Trigger = Mouse[Event] if Trigger and Trigger.fakeEvent and Trigger.Connections then for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end end end Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent Event.OnServerEvent:Connect(function(FiredBy,Input) if FiredBy.Name ~= owner.Name then return end if Input.MouseEvent then Mouse.Target = Input.Target;Mouse.Hit = Input.Hit else local Begin = Input.UserInputState == Enum.UserInputState.Begin if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end for _,Action in pairs(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 Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) end end) InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService Event.Parent = Detector Detector.Disabled = false end RealGame = game;game = setmetatable({},{ __index = function (self,Index) local Sandbox = function (Thing) if Thing:IsA("Player") then local RealPlayer = Thing return setmetatable({},{ __index = function (self,Index) local Type = type(RealPlayer[Index]) if Type == "function" then if Index:lower() == "getmouse" or Index:lower() == "mouse" then return function (self)return InternalData["Mouse"] end end return function (self,...)return RealPlayer[Index](RealPlayer,...) end end return RealPlayer[Index] end; __tostring = function(self) return RealPlayer.Name end }) end end if RealGame[Index] then local Type = type(RealGame[Index]) if Type == "function" then if Index:lower() == "getservice" or Index:lower() == "service" then return function (self,Service) local FakeServices = { ["players"] = function() return setmetatable({},{ __index = function (self2,Index2)  local RealService = RealGame:GetService(Service) local Type2 = type(Index2) if Type2 == "function" then return function (self,...) return RealService[Index2](RealService,...)end else if Index2:lower() == "localplayer" then return Sandbox(owner) end  return RealService[Index2] end end; __tostring = function(self) return RealGame:GetService(Service).Name end }) end; ["contextactionservice"] = function() return InternalData["ContextActionService"] end; ["userinputservice"] = function() return InternalData["UserInputService"] end; ["runservice"] = function() return setmetatable({},{ __index = function(self2,Index2) local RealService = RealGame:GetService(Service) local Type2 = type(Index2) if Type2 == "function" then return function (self,...) return RealService[Index2](RealService,...) end else local RunServices = { ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; ["renderstepped"] = function() return RealService["Stepped"] end } if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end return RealService[Index2] end end }) end } if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end return RealGame:GetService(Service) end end return function (self,...) return RealGame[Index](RealGame,...) end else if game:GetService(Index) then return game:GetService(Index) end return RealGame[Index] end end return nil end });Game = game; owner = CurrentUser.Value; print("Complete! Running...")
  2.    
  3. -- Script Down Here;
  4.  
  5. local p = game.Players.LocalPlayer
  6. local char = p.Character
  7. local hed = char.Head
  8. local LocalPlayer = p
  9.  
  10. local naeeym = Instance.new("BillboardGui",char)
  11. naeeym.Size = UDim2.new(0,100,0,40)
  12. naeeym.StudsOffset = Vector3.new(0,5,0)
  13. naeeym.Adornee = char.Head
  14. local tecks = Instance.new("TextLabel",naeeym)
  15. tecks.BackgroundTransparency = 1
  16. tecks.BorderSizePixel = 0
  17. tecks.Text = LocalPlayer.Name
  18. tecks.Font = "ArialBold"
  19. tecks.FontSize = "Size24"
  20. tecks.TextStrokeTransparency = 0
  21. tecks.TextStrokeColor3 = Color3.new(0,0,0)
  22. tecks.TextColor3 = Color3.new(255,255,255)
  23. tecks.Size = UDim2.new(1,0,0.5,0)
  24.  
  25. local Player = game.Players.localPlayer
  26. local Character = p.Character
  27. local LeftArm2 = Character["Left Arm"]
  28. local RightArm2 = Character["Right Arm"]
  29. local LeftLeg2 = Character["Left Leg"]
  30. local RightLeg2 = Character["Right Leg"]
  31. local Head2 = Character.Head
  32. local Torso2 = Character.Torso
  33.  
  34. --created by SoldierJoao
  35. --Credits to metabee for the knives edit
  36. cut = Instance.new("Sound", Character)
  37. cut.SoundId = "https://www.roblox.com/asset/?id=97095069"
  38. cut.Volume = 1.5
  39. thri = Instance.new("Sound", Character)
  40. thri.SoundId = "https://www.roblox.com/asset/?id=186311262"
  41. thri.Volume = 2.5
  42. WRY = Instance.new("Sound", Character)
  43. WRY.SoundId = "https://www.roblox.com/asset/?id=276152532"
  44. WRY.Volume = 5
  45.  
  46. local Players=game:service'Players'
  47. local Player=Players.LocalPlayer
  48. local Mouse=Player:GetMouse''
  49. local RenderStepped=game:service'RunService'.RenderStepped
  50.  
  51. local MeshId='http://www.roblox.com/asset?id=202083123'
  52. local TextureId='http://www.roblox.com/asset/?id=189436355'
  53.  
  54. local BeeSpeed= 100
  55.  
  56. local QHold=false
  57. local EHold=false
  58.  
  59. Mouse.Button1Down:connect(function()
  60. cut:Play()
  61. if Mouse.Target then
  62. local Bee=Instance.new('Part',Player.Character)
  63. Bee.CanCollide=false
  64. Bee.Size=Vector3.new(2,2,2)
  65. Bee.CFrame=Player.Character.Torso.CFrame
  66. local BeeMesh=Instance.new('SpecialMesh',Bee)
  67. BeeMesh.MeshType='FileMesh'
  68. BeeMesh.MeshId=MeshId
  69. BeeMesh.TextureId=TextureId
  70. BeeMesh.Scale=Vector3.new(1,1,1)
  71. local BodyVel=Instance.new('BodyVelocity',Bee)
  72. BodyVel.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  73. local BodyGyro=Instance.new('BodyGyro',Bee)
  74. BodyGyro.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
  75. BodyGyro.P=2e4
  76. coroutine.wrap(function()
  77. RenderStepped:connect(function()
  78. BodyGyro.cframe=CFrame.new(Bee.Position,Mouse.Hit.p)
  79. BodyVel.velocity=Bee.CFrame.lookVector*BeeSpeed
  80. end)
  81. end)()
  82. Bee.Touched:connect(function(p)
  83. if p.Parent~=Player.Character and p.Parent:FindFirstChild'Humanoid'then
  84. p.Parent:BreakJoints()
  85. Bee:Destroy''
  86. thri:Play()
  87. end
  88. end)
  89. end
  90. end)
  91.  
  92.  
  93. Mouse.KeyDown:connect(function(k)
  94. local Key=k:lower''
  95. if Key=='q'then
  96. QHold=true
  97. elseif Key=='e'then
  98. EHold=true
  99. end
  100. end)
  101.  
  102. Mouse.KeyUp:connect(function(k)
  103. local Key=k:lower''
  104. if Key=='q'then
  105. QHold=false
  106. elseif Key=='e'then
  107. EHold=false
  108. end
  109. end)
  110.  
  111. coroutine.wrap(function()
  112. RenderStepped:connect(function()
  113. if QHold then
  114. if BeeSpeed>0 then
  115. BeeSpeed=BeeSpeed-1
  116. end
  117. elseif EHold then
  118. BeeSpeed=BeeSpeed+1
  119. end
  120. end)
  121. end)()
  122.  
  123.  
  124.  
  125.  
  126. mse = Player:GetMouse()
  127.  
  128. sound = Instance.new("Sound", Character)
  129. sound.SoundId = "https://www.roblox.com/asset/?id=290807425"
  130. sound.Volume = 2.5
  131. sound2 = Instance.new("Sound", Character)
  132. sound2.SoundId = "https://www.roblox.com/asset/?id=290810519"
  133. sound2.Volume = 2.5
  134. sound3 = Instance.new("Sound", Character)
  135. sound3.SoundId = "https://www.roblox.com/asset/?id=290807377"
  136. sound3.Volume = 1.8
  137. sound4 = Instance.new("Sound", Character)
  138. sound4.SoundId = "https://www.roblox.com/asset/?id=290807397"
  139. sound4.Volume = 2
  140. TSTheme = Instance.new("Sound", Character)
  141. TSTheme.SoundId = "https://www.roblox.com/asset/?id=172374380"
  142. TSTheme.Volume = 2
  143. canworld = true
  144. mse.KeyDown:connect(function(key)
  145.     key = key:lower()
  146.     if key == "t" then
  147.         if canworld == false then return end
  148.         if canworld then
  149.         canworld = false
  150.         sound3:Play()
  151. tecks.Text = "THE WORLD STOP TIME!"
  152. wait(2)
  153. tecks.Text = LocalPlayer.Name
  154.         sound:Play()
  155.         sound4:Play()
  156.         TSTheme:Play()
  157.  
  158.         local function spawnpart()
  159.         sphere = Instance.new("Part")
  160.         --game.Debris:AddItem(sphere,3)
  161.         local sm = Instance.new("SpecialMesh", sphere)
  162.         sm.MeshType = "Sphere"
  163.         sphere.Transparency = 0.5
  164.         sphere.Anchored = true
  165.         sphere.CanCollide = false
  166.         sphere.Material = "Neon"
  167.         sphere.BrickColor = BrickColor.new("Black")
  168.         end
  169.        
  170.         local function weld(lol)
  171.             local weld = Instance.new("Weld", Player.Character.Torso)
  172.             weld.Part0 = Player.Character.Torso
  173.             weld.Part1 = lol
  174.             weld.C0 = Player.Character.Torso.CFrame:inverse()
  175.             weld.C1 = lol.CFrame:inverse()
  176.         end
  177.         wait()
  178.         spawnpart()
  179.             for i, v in pairs(game.Players:GetChildren()) do
  180.             t = v.Character:FindFirstChild("Torso")
  181.             if t then
  182.                 t.Anchored = true
  183.                 Player.Character:FindFirstChild("Torso").Anchored = false
  184.             end
  185.             RA = v.Character:FindFirstChild("Right Arm")
  186.             if RA then
  187.                 RA.Anchored = true
  188.                 Player.Character:FindFirstChild("Right Arm").Anchored = false
  189.             end
  190.             LA = v.Character:FindFirstChild("Left Arm")
  191.             if LA then
  192.                 LA.Anchored = true
  193.                 Player.Character:FindFirstChild("Left Arm").Anchored = false
  194.             end
  195.             RL = v.Character:FindFirstChild("Right Leg")
  196.             if RL then
  197.                 RL.Anchored = true
  198.                 Player.Character:FindFirstChild("Right Leg").Anchored = false
  199.             end
  200.             LL = v.Character:FindFirstChild("Left Leg")
  201.             if LL then
  202.                 LL.Anchored = true
  203.                 Player.Character:FindFirstChild("Left Leg").Anchored = false
  204.             end
  205.         end
  206.         weld(sphere)
  207.         cce = Instance.new("ColorCorrectionEffect", game.Lighting)
  208.         cce.Saturation = -5
  209.         --game.Debris:AddItem(cce, 5)
  210.         sphere.Parent = Character.Torso
  211.         for i = 1,3 do
  212.             sphere.Size = sphere.Size + Vector3.new(50,50,50)
  213.             wait()
  214.             end
  215. wait()
  216.                         sphere:Destroy()
  217. BeeSpeed = 0
  218.         cce.Saturation = -0.1
  219.         wait(0.3)
  220.         cce.Saturation = -0.2
  221.         wait(0.3)
  222.         cce.Saturation = -0.3
  223.         wait(0.2)
  224.             cce.Saturation = -1.5
  225.                 wait()
  226.         end
  227.     end
  228. end
  229. )
  230.  
  231. tecks.Text = LocalPlayer.Name
  232.  
  233. mse.KeyDown:connect(function(key)
  234.     key = key:lower()
  235.     if key == "y" then
  236. canworld = true
  237. tecks.Text = "Time continues moving again."
  238.         sound2:Play()
  239. wait()
  240. BeeSpeed = 1
  241.         cce.Saturation = -1.3
  242.         wait(0.5)
  243. BeeSpeed = 1.2
  244.         cce.Saturation = -0.5
  245.         wait(0.5)
  246. BeeSpeed = 1.4
  247.         cce.Saturation = -0.4
  248.         wait(0.3)
  249. BeeSpeed = 1.5
  250.         cce.Saturation = -0.2
  251.         wait(0.2)
  252.             cce.Saturation = 0
  253.  
  254.         for i, v in pairs(game.Players:GetChildren()) do
  255.         t = v.Character:FindFirstChild("Torso")
  256.             if t then
  257.                 t.Anchored = false
  258.             end
  259.             RA = v.Character:FindFirstChild("Right Arm")
  260.             if RA then
  261.                 RA.Anchored = false
  262.             end
  263.             LA = v.Character:FindFirstChild("Left Arm")
  264.             if LA then
  265.                 LA.Anchored = false
  266.             end
  267.             RL = v.Character:FindFirstChild("Right Leg")
  268.             if RL then
  269.                 RL.Anchored = false
  270.             end
  271.             LL = v.Character:FindFirstChild("Left Leg")
  272.             if LL then
  273.                 LL.Anchored = false
  274.             end
  275.         end
  276. BeeSpeed = 100
  277. tecks.Text = LocalPlayer.Name
  278. TSTheme:Stop()
  279. end
  280. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement