Awooslayer699

Untitled

Feb 24th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.39 KB | None | 0 0
  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.  
  143. --By Rufus12 (lol jk its Rufus14)
  144. mouse = game.Players.LocalPlayer:GetMouse()
  145. used = false
  146. attacking = false
  147. smashing = false
  148. kick = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  149. kick.SoundId = "rbxassetid://507150998"
  150. kick.Volume = 6
  151. kick1 = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  152. kick1.SoundId = "rbxassetid://169380525"
  153. kick1.Volume = 6
  154. kick11 = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Leg"])
  155. kick11.SoundId = "rbxassetid://165969964"
  156. kick11.Volume = 50
  157. function sensor(key)
  158. key = key:lower()
  159. if key == "e" then
  160. if not used then
  161. used = true
  162. local detect = Instance.new("Part", game.Players.LocalPlayer.Character)
  163. detect.Size = Vector3.new(1,1,4)
  164. detect:BreakJoints()
  165. detect.CanCollide = false
  166. detect.Transparency = 0.9
  167. detect.BrickColor = BrickColor.new("Really red")
  168. local weld = Instance.new("Weld", detect)
  169. weld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  170. weld.Part1 = detect
  171. weld.C0 = weld.C0 * CFrame.new(0,-1,0)
  172. local function attack(part)
  173. if not attacking then
  174. attacking = true
  175. local torso = part.Parent:findFirstChild("Torso")
  176. if torso ~= nil then
  177. local humanoid = part.Parent:findFirstChild("Humanoid")
  178. if humanoid ~= nil then
  179. local weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  180. humanoid.WalkSpeed = 0
  181. humanoid.JumpPower = 0
  182. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  183. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  184. for i = 1,5 do
  185. wait()
  186. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  187. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  188. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.2)
  189. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.2)
  190. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.2,0,0)
  191. end
  192. kick:Play()
  193. used = true
  194. local bodyvelocity = Instance.new("BodyVelocity", torso)
  195. bodyvelocity.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 67
  196. bodyvelocity.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  197. wait(1.4)
  198. local bodyposition = Instance.new("BodyPosition", torso)
  199. bodyposition.Position = torso.Position
  200. bodyposition.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  201. bodyvelocity:destroy()
  202. wait(1)
  203. for i = 1,5 do
  204. wait()
  205. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  206. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  207. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.2)
  208. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.2)
  209. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.2,0,0)
  210. end
  211. for i = 1,5 do
  212. wait()
  213. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  214. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  215. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,0.2)
  216. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,-0.2)
  217. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(0.2,0,0)
  218. end
  219. wait(1)
  220. for i = 1,5 do
  221. wait()
  222. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  223. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  224. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 * CFrame.Angles(0,0,-0.1)
  225. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 * CFrame.Angles(0,0,0.1)
  226. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 * CFrame.Angles(-0.1,0,0)
  227. end
  228. local bodypositionme = Instance.new("BodyPosition", game.Players.LocalPlayer.Character.Torso)
  229. bodypositionme.Position = torso.Position
  230. bodypositionme.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  231. wait(1.1)
  232. for i = 1,5 do
  233. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 * CFrame.Angles(0,0,0.25)
  234. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.25)
  235. end
  236. kick1:Play()
  237. bodypositionme:destroy()
  238. local torsowelding = Instance.new("Weld", torso)
  239. torsowelding.Part0 = torso
  240. torsowelding.Part1 = game.Players.LocalPlayer.Character.Torso
  241. torsowelding.C0 = torsowelding.C0 * CFrame.new(0,0,-2)
  242. torsowelding.C0 = torsowelding.C0 * CFrame.Angles(0,3.08,0)
  243. wait(1.3)
  244. torsowelding:destroy()
  245. bodyposition:destroy()
  246. local mybodyvel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  247. mybodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -90
  248. mybodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  249. local bodyvel = Instance.new("BodyVelocity", torso)
  250. bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 80
  251. bodyvel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  252. humanoid.PlatformStand = true
  253. wait(0.3)
  254. bodyvel:destroy()
  255. mybodyvel:destroy()
  256. wait(0.25)
  257. game.Players.LocalPlayer.Character.Torso["Right Shoulder"].C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  258. game.Players.LocalPlayer.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  259. game.Players.LocalPlayer.Character.HumanoidRootPart.RootJoint.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  260. game.Players.LocalPlayer.Character.Torso.Neck.C0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  261. game.Players.LocalPlayer.Character.Torso["Left Hip"].C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  262. game.Players.LocalPlayer.Character.Torso["Right Hip"].C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  263. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
  264. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
  265. wait(2.5)
  266. local block = Instance.new("Part", workspace)
  267. block.Position = torso.Position + Vector3.new(0,500,0)
  268. block.Size = Vector3.new(50,70,50)
  269. local function smash()
  270. if not smashing then
  271. smashing = true
  272. local explosion = Instance.new("Explosion", block)
  273. explosion.BlastRadius = 999999999
  274. humanoid.Health = 0
  275. kick11:Play()
  276. explosion.Position = torso.Position
  277. wait(1)
  278. smashing = false
  279. end
  280. end
  281. block.Touched:connect(smash)
  282. used = false
  283. attacking = false
  284. wait(7)
  285. block:destroy()
  286. end
  287. end
  288. wait(1)
  289. attacking = false
  290. end
  291. end
  292. detect.Touched:connect(attack)
  293. wait(0.1)
  294. detect:destroy()
  295. used = false
  296. end
  297. end
  298. end
  299. mouse.KeyDown:connect(sensor)
Add Comment
Please, Sign In to add comment