Advertisement
PR0J3CT11

Untitled

Jul 13th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob")
  141.  
  142. iz = (game.Players.LocalPlayer.Name)
  143.  
  144. is = (game.Players.LocalPlayer.Character)
  145.  
  146. for i,v in pairs(is:GetChildren()) do
  147. if v.ClassName == 'Hat' then
  148. v:Destroy()
  149. end
  150. end
  151.  
  152. for i,v in pairs(is:GetChildren()) do
  153. if v.ClassName == 'Shirt' then
  154. v:Destroy()
  155. end
  156. end
  157.  
  158. for i,v in pairs(is:GetChildren()) do
  159. if v.ClassName == 'Pants' then
  160. v:Destroy()
  161. end
  162. end
  163.  
  164.  
  165. wait()
  166.  
  167. sound = Instance.new('Sound')
  168. sound.SoundId = 'http://www.roblox.com/asset/?id=132476475' --132476475
  169. sound.Looped = true
  170. sound.Parent = is.Torso
  171. sound.Volume = 1
  172.  
  173. faec = Instance.new('Sound')
  174. faec.SoundId = 'http://www.roblox.com/asset/?id=268771559' --476296898
  175. faec.Looped = false
  176. faec.Parent = is.Torso
  177. faec.Volume = 1
  178.  
  179. taut = Instance.new('Sound')
  180. taut.SoundId = 'http://www.roblox.com/asset/?id=153706538' --153706538
  181. taut.Looped = true
  182. taut.Parent = is.Torso
  183. taut.Volume = 1
  184.  
  185. taut2 = Instance.new('Sound')
  186. taut2.SoundId = 'http://www.roblox.com/asset/?id=134147361' --134147361
  187. taut2.Looped = true
  188. taut2.Parent = is.Torso
  189. taut2.Volume = 1
  190.  
  191.  
  192.  
  193. local player = game.Players.LocalPlayer
  194. repeat wait() until player.Character.Humanoid
  195. local humanoid = player.Character.Humanoid
  196. local mouse = player:GetMouse()
  197.  
  198. local anim = Instance.new("Animation")
  199. anim.AnimationId = "http://www.roblox.com/Asset?ID=87684948"
  200.  
  201. mouse.KeyDown:connect(function(key)
  202. if key == "z" then
  203. sound:Play()
  204. is.Humanoid.WalkSpeed = 16
  205. end
  206. end)
  207.  
  208. mouse.KeyDown:connect(function(key)
  209. if key == "x" then
  210. faec:Play()
  211. sound:Stop()
  212. is.Humanoid.WalkSpeed = 16
  213. local playAnim = humanoid:LoadAnimation(anim)
  214. playAnim:Play()
  215. end
  216. end)
  217.  
  218. mouse.KeyDown:connect(function(key)
  219. if key == "c" then
  220. faec:Stop()
  221. taut:Play()
  222. taut2:Play()
  223. is.Humanoid.WalkSpeed = 45
  224. is.Animate.walk.WalkAnim.AnimationId = 'http://www.roblox.com/Asset?ID=252557606'
  225. end
  226. end)
  227.  
  228. function onTouch(part)
  229. local humanoid = part.Parent:findFirstChild("Humanoid")
  230. if (humanoid ~=nil) then
  231. humanoid.Health = 0
  232. sound1 = Instance.new('Sound')
  233. sound1.SoundId = 'http://www.roblox.com/asset/?id=256509968'
  234. sound1.Looped = false
  235. sound1.Parent = is.Torso
  236. sound1:Play()
  237. end
  238. end
  239.  
  240. is.Torso.Touched:connect(onTouch)
  241.  
  242. while true do
  243. wait()
  244. game.Workspace[iz].Head.BrickColor = BrickColor.new('Fossil')
  245. game.Workspace[iz]['Right Leg'].BrickColor = BrickColor.new('Fossil')
  246. game.Workspace[iz]['Left Leg'].BrickColor = BrickColor.new('Fossil')
  247. game.Workspace[iz]['Right Arm'].BrickColor = BrickColor.new('Fossil')
  248. game.Workspace[iz]['Left Arm'].BrickColor = BrickColor.new('Fossil')
  249. game.Workspace[iz].Torso.BrickColor = BrickColor.new('Fossil')
  250. game.Workspace[iz].Head.face.Texture = 'http://www.roblox.com/asset/?id=133667125'
  251. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement