carlosname

Untitled

May 24th, 2020
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");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("Complete! Running...")
  141.  
  142. --[[
  143. ROBLOX - ░▒▓█►─═ 𝙏𝙝𝙚 𝙂𝙝𝙤𝙨𝙩 ═─◄█▓▒░
  144.  
  145.  
  146. Made by Indencito (https://www.roblox.com/users/176124016/profile)
  147. CONTROLS: R - to Disable kill mode.
  148. E - to Enable kill mode.
  149. F - to be fast.
  150. g - to revert to original walkspeed
  151. t - to jump high
  152. y - to revert to original jumppower
  153. -_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  154. HOWTO: kill - touch target.
  155. pass walls - walk through a wall.
  156. 𝙀𝙉𝘿
  157. 𝙀𝙉𝘿.𝙀𝙉𝘿
  158. 𝙀𝙉𝘿.𝙀𝙉𝘿.𝙀𝙉𝘿
  159. --]]
  160. wait(4)
  161. local Name1=game.Workspace
  162. local Player=game.Players.LocalPlayer
  163. local Name2=Player.Name
  164. local Halfway=0.50
  165. local attackin=Instance.new("BoolValue")
  166. attackin.Parent=Player.Head
  167. attackin.Value=true
  168. local UT=Player:FindFirstChild("Upper Torso")
  169. if (UT~=nil) then
  170. wait()
  171. Player:BreakJoints()
  172. end
  173. Player.Humanoid.Name=("Ghostly")
  174. local Shirt=Player:FindFirstChild("Shirt")
  175. if (Shirt~=nil) then
  176. Player.Shirt:Destroy()
  177. print("Shirt Removed")
  178. else
  179. print("Error removing Shirt")
  180. end
  181. local hmn=Player.Ghostly
  182. local TShirt=Player:FindFirstChild("Shirt Graphic")
  183. if (TShirt~=nil) then
  184. Player["Shirt Graphic"]:Destroy()
  185. print("T-Shirt Removed")
  186. else
  187. print("Error removing T-Shirt")
  188. end
  189. local Pants=Player:FindFirstChild("Pants")
  190. if (Pants~=nil) then
  191. Player.Pants:Destroy()
  192. print("Pants Removed")
  193. else
  194. print("Error removing Pants")
  195. end
  196. wait()
  197. Player.Head.BrickColor=BrickColor.new("White")
  198. Player.Torso.BrickColor=BrickColor.new("White")
  199. Player["Left Arm"].BrickColor=BrickColor.new("White")
  200. Player["Right Arm"].BrickColor=BrickColor.new("White")
  201. Player["Right Leg"].BrickColor=BrickColor.new("White")
  202. Player["Left Leg"].BrickColor=BrickColor.new("White")
  203. wait()
  204. Player.Torso.Transparency=Halfway
  205. Player.Head.Transparency=Halfway
  206. Player["Left Arm"].Transparency=Halfway
  207. Player["Right Arm"].Transparency=Halfway
  208. Player["Right Leg"].Transparency=Halfway
  209. Player["Left Leg"].Transparency=Halfway
  210. wait(1/5)
  211. local Sound=Instance.new("Sound")
  212. Sound.SoundId="rbxassetid://2656915943"
  213. Sound.Volume=5
  214. Sound.Parent=Player.Head
  215. Sound.Playing=true
  216. Sound.Looped=true
  217. local v=Instance.new("Sound")
  218. v.Parent=Player.Head
  219. v.MaxDistance=40
  220. v.Volume=5
  221. v.SoundId="rbxassetid://1787893952"
  222. function onTouch(hit)
  223. local PV=hit:FindFirstChild("Humanoid")
  224. if (PV~=nil) then
  225. v.Playing=true
  226. wait(1)
  227. v.Playing=false
  228. end
  229. end
  230. Player.Torso.Touched:Connect(onTouch)
  231. Player.Ghostly.MaxHealth=("inf")
  232. Player.Ghostly.HealthDisplayType=("AlwaysOff")
  233. Player.Ghostly.WalkSpeed=100
  234. Player.Ghostly.JumpPower=200
  235. function onTouch(hit)
  236. local human=hit.Parent:FindFirstChild("Humanoid")
  237. if (human~=nil) then
  238. wait()
  239. if attackin.Value == false then
  240. hit.Parent:BreakJoints()
  241. end
  242. end
  243. end
  244. Player.Torso.Touched:Connect(onTouch)
  245. g=Instance.new("SurfaceLight")
  246. g.Parent=Player.Torso
  247. g.Angle=180
  248. g.Brightness=10
  249. g.Color=Color3.new(255,255,255)
  250. g.Face=("Top")
  251. g.Range=60
  252. wait(1/60)
  253. local load=Player:FindFirstChild("Torso")
  254. if (load~=nil) then
  255. print(Name2.." is now a spookay ghost")
  256. else
  257. print("This script will only work with r6")
  258. end
  259. function onTouch(hit)
  260. local block=hit.Parent:FindFirstChild("Part")
  261. if (block~=nil) then
  262. hit.CanCollide=false
  263. hit.Anchored=true
  264. wait(1)
  265. hit.CanCollide=true
  266. else
  267. hit.CanCollide=true
  268. end
  269. end
  270. Player.Torso.Touched:Connect(onTouch)
  271. function onTouch(hit)
  272. local block=hit.Parent:FindFirstChild("Part")
  273. if (block~=nil) then
  274. hit.CanCollide=false
  275. hit.Anchored=true
  276. wait(1)
  277. hit.CanCollide=true
  278. else
  279. hit.CanCollide=true
  280. end
  281. end
  282. Player.Head.Touched:Connect(onTouch)
  283. function onTouch(hit)
  284. local base=hit:FindFirstChild("Baseplate")
  285. if (base~=nil) then
  286. hit.CanCollide=true
  287. hit.Anchored=true
  288. end
  289. end
  290. Player.Torso.Touched:Connect(onTouch)
  291. wait(1)
  292. local gui=Instance.new("BillboardGui")
  293. gui.Parent=Player.Head
  294. gui.Adornee=Player.Head
  295. gui.MaxDistance = 100
  296. gui.Size=UDim2.new(3,0,3,0)
  297. gui.StudsOffset=Vector3.new(0.5,2,0)
  298. local text=Instance.new("TextLabel")
  299. text.Text = ("Ghost")
  300. text.Font = "Arcade"
  301. text.TextColor3 = Color3.new("White")
  302. text.Size=UDim2.new(1,0,1,0)
  303. text.FontSize = 'Size32'
  304. text.Position=UDim2.new(-0.125,0,-0.25,0)
  305. text.BackgroundTransparency = 1
  306. text.Parent=gui
  307. function onTouch(hit)
  308. local person=hit.Parent:FindFirstChild("Humanoid")
  309. if (person~=nil) then
  310. wait()
  311. if attackin.Value == false then
  312. text.Text=(hit.Parent.Name.." has been rekt by "..Name2)
  313. wait(2)
  314. text.Text=("Ghost")
  315. end
  316. end
  317. end
  318. Player.Torso.Touched:Connect(onTouch)
  319. function onDeath()
  320. text.Text=("RIP... "..Name2.." has died")
  321. game.SoundService.Sound:Destroy()
  322. script:Destroy()
  323. end
  324. Player.Ghostly.Died:Connect(onDeath)
  325. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  326. m.KeyDown:connect(function(key)
  327. if key:lower() == "r" then
  328. attackin.Value=false
  329. end
  330. end)
  331. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  332. m.KeyDown:connect(function(key)
  333. if key:lower() == "e" then
  334. attackin.Value=true
  335. end
  336. end)
  337. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  338. m.KeyDown:connect(function(key)
  339. if key:lower() == "f" then
  340. hmn.WalkSpeed=100
  341. end
  342. end)
  343. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  344. m.KeyDown:connect(function(key)
  345. if key:lower() == "g" then
  346. hmn.WalkSpeed=16
  347. end
  348. end)
  349. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  350. m.KeyDown:connect(function(key)
  351. if key:lower() == "t" then
  352. hmn.JumpPower=200
  353. end
  354. end)
  355. m = game.Players:GetPlayerFromCharacter(Player):GetMouse()
  356. m.KeyDown:connect(function(key)
  357. if key:lower() == "y" then
  358. hmn.JumpPower=50
  359. end
  360. end)
Add Comment
Please, Sign In to add comment