Advertisement
5325325325

Untitled

Oct 19th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.92 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = owner
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. -- By Theamazingnater
  87. -- hi
  88. plr = owner
  89. char = plr.Character
  90.  
  91.  
  92. -- Defining RenderStepped?
  93. renders = game:GetService("RunService").RenderStepped
  94. -- Intro
  95. char.Torso.roblox.Texture = "rbxassetid://305296807"
  96. local rhandclone = game.Players.Artem09405Hack.Character.Torso["Right Shoulder"]:Clone()
  97. local rhandweld = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  98. rhandweld.Part0 = game.Players.Artem09405Hack.Character.Torso
  99. rhandweld.Part1 = game.Players.Artem09405Hack.Character["Right Arm"]
  100. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  101. local lhandclone = game.Players.Artem09405Hack.Character.Torso["Left Shoulder"]:Clone()
  102. local lhandweld = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  103. lhandweld.Part0 = game.Players.Artem09405Hack.Character.Torso
  104. lhandweld.Part1 = game.Players.Artem09405Hack.Character["Left Arm"]
  105. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  106. local llegclone = game.Players.Artem09405Hack .Character.Torso["Left Hip"]:Clone()
  107. game.Players.Artem04905Hack.Character.Torso["Left Hip"]:Remove()
  108. local llegweld = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  109. llegweld.Part0 = game.Players.Artem09405Hack.Character.Torso
  110. llegweld.Part1 = game.Players.Artem09405Hack.Character["Left Leg"]
  111. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  112. local rlegclone = game.Players.Artem09405Hack.Character.Torso["Right Hip"]:Clone()
  113. game.Players.Artem09405Hack.Character.Torso["Right Hip"]:Remove()
  114. local rlegweld = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  115. rlegweld.Part0 = game.Players.Artem09405Hack.Character.Torso
  116. rlegweld.Part1 = game.Players.Artem09405Hack.Character["Right Leg"]
  117. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  118. local rootjointclone = game.Players.Artem09405Hack.Character.HumanoidRootPart.RootJoint:Clone()
  119. game.Players.Artem09405Hack.Character.HumanoidRootPart.RootJoint:Remove()
  120. local humanoidrootpart = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  121. humanoidrootpart.Part0 = game.Players.Artem09405Hack.Character.HumanoidRootPart
  122. humanoidrootpart.Part1 = game.Players.Artem09405Hack.Character.Torso
  123. local heed = game.Players.Artem09405Hack.Character.Torso["Neck"]:Clone()
  124. local headweld = Instance.new("Weld", game.Players.Artem09405Hack.Character.Torso)
  125. headweld.Part0 = game.Players.Artem09405Hack.Character.Torso
  126. headweld.Part1 = game.Players.Artem09405Hack.Character.Head
  127. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  128. local gunshot = Instance.new("Sound",char.Torso)
  129. gunshot.Name = "BANG"
  130. gunshot.SoundId = "rbxassetid://213603013"
  131. gunshot.Volume = 2
  132. gunshot:Play()
  133. char.Humanoid.WalkSpeed = 0
  134. char.Humanoid.JumpPower = 0
  135. for i = 0,1 , 0.03 do
  136. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.975958347, -2.06729031, 0, 0.905177712, -0.425033659, 8.83524214e-27, 0.425034732, 0.905179977, 4.223007e-27, -1.05518035e-26, 3.02922588e-28, 1.0000025),i)
  137. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.901434898, -1.97289896, 0, 0.896831989, 0.442371875, -3.88750654e-27, -0.442372978, 0.896834254, 5.09510506e-27, 4.69530011e-27, -3.35739201e-27, 1.0000025),i)
  138. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
  139. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.80910063, 0.148392916, 0, 0.586558223, 0.80990839, -5.84135723e-26, -0.809910417, 0.586559713, -6.21380681e-26, -1.6509281e-26, 8.28998148e-26, 1.0000025),i)
  140. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.50004101, 2.00000429, 1, -4.90253133e-27, 8.98669496e-27, 8.98670343e-27, 1.77323375e-06, -1, 4.90251553e-27, 1, 1.77323375e-06),i)
  141. renders:wait()
  142. end
  143. wait(3)
  144. local scream = Instance.new("Sound",char.Torso)
  145. scream.SoundId = "rbxassetid://138167455"
  146. scream.Volume = 4
  147. scream:Play()
  148. char.Head.face.Texture = "http://www.roblox.com/asset/?id=1364114735"
  149. for i = 0,1 , 0.03 do
  150. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.52452374, 0.510128379, -0.901310444, -0.0983733907, 0.0243432298, 0.994851828, 0.995149672, 0.00240636896, 0.0983439684, 2.91038305e-08, 0.999700963, -0.0244618785),i)
  151. renders:wait()
  152. end
  153. wait(5)
  154. char.Head.face.Texture = "http://www.roblox.com/asset/?id=295197013"
  155. for i = 0,1 , 0.03 do
  156. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.98829222, 0.555973053, 0, -0.0983736441, -0.995149612, 6.86624532e-27, 0.995152056, -0.0983738229, 1.33999472e-26, -1.25618211e-26, 9.13816473e-27, 1.0000025),i)
  157. renders:wait()
  158. end
  159. local Part0 = Instance.new("Part")
  160. Part0.Name = "bl00d"
  161. Part0.CanCollide = false
  162. Part0.Anchored = true
  163. Part0.Parent = char
  164. Part0.BrickColor = BrickColor.new("Crimson")
  165. Part0.Rotation = Vector3.new(0, 0, 90)
  166. Part0.Shape = Enum.PartType.Cylinder
  167. Part0.Size = Vector3.new(0.310000002, 1.77000022, 2)
  168. Part0.CFrame = CFrame.new(10.5427914, 1.28072846, 11.4908791, 4.47034836e-07, -1.00000215, 0, 1.00000215, 4.47034836e-07, 0, 0, 0, 1)
  169. Part0.Color = Color3.new(0.458824, 0, 0)
  170. Part0.Position = Vector3.new(10.5427914, 1.28072846, 11.4908791)
  171. Part0.Orientation = Vector3.new(0, 0, 90)
  172. Part0.Color = Color3.new(0.458824, 0, 0)
  173. for i = 1,400 do
  174. game.Players.Artem09405Hack.Character.Head.CanCollide = false
  175. Part0.Size = Part0.Size + Vector3.new(0,0.01,0.01)
  176. Part0.CFrame = game.Players.Artem09405Hack.Character.Torso.CFrame * CFrame.new(0,0,0.4)
  177. Part0.CFrame = Part0.CFrame * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)
  178. game:GetService("RunService").Stepped:wait()
  179. end
  180. wait(4)
  181. for i = 0,1 , 0.03 do
  182. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  183. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  184. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  185. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  186. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  187. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  188. renders:wait()
  189. end
  190. lhandweld:Destroy()
  191. llegweld:Destroy()
  192. rhandweld:Destroy()
  193. rlegweld:Destroy()
  194. headweld:Destroy()
  195. humanoidrootpart:Destroy()
  196. lhandclone.Parent = char.Torso
  197. llegclone.Parent = char.Torso
  198. rhandclone.Parent = char.Torso
  199. rlegclone.Parent = char.Torso
  200. heed.Parent = char.Torso
  201. rootjointclone.Parent = char.HumanoidRootPart
  202. char.Humanoid.WalkSpeed = 16
  203. char.Humanoid.JumpPower = 50
  204. -- the thing that follows you
  205. local part = Instance.new("Part",char)
  206. part.Transparency = 1
  207. part.Size = Vector3.new(5.92, 0.05, 5.95)
  208. part.CanCollide = false
  209. local surfacegui = Instance.new("SurfaceGui",part)
  210. surfacegui.Adornee = part
  211. surfacegui.Face = "Top"
  212. surfacegui.AlwaysOnTop = false
  213. local image = Instance.new("ImageLabel",surfacegui)
  214. image.Size = UDim2.new(1.066, 0, 0.998, 0)
  215. image.Image = "rbxassetid://153485522"
  216. image.BackgroundTransparency = 1
  217. local weld = Instance.new("Weld",part)
  218. weld.Part0 = part
  219. weld.Part1 = char.HumanoidRootPart
  220. for i = 0,1 , 0.05 do
  221. weld.C0 = weld.C0:lerp(CFrame.new(-0.232723236, 2.4942894, 0.332229614, 1, 0, 0, 0, 0.999996066, 0, 0, 0, 1),i)
  222. game:GetService("RunService").RenderStepped:wait()
  223. end
  224. -- funcs
  225. function onTouched(brick)
  226. local humn = brick.Parent:FindFirstChildOfClass("Humanoid")
  227. if humn then
  228. for i,v in pairs(humn.Parent:GetChildren()) do
  229. if v.ClassName == "Part" then
  230. v.Transparency = 0.5
  231. v.Color = Color3.new(0,0,0)
  232. v.CanCollide = false
  233. v.Parent.Humanoid.Health = 0
  234. local bodyvel = Instance.new("BodyVelocity",v)
  235. local leftarm = Instance.new("CharacterMesh",v.Parent)
  236. leftarm.BodyPart = "LeftArm"
  237. leftarm.MeshId = "1112256772"
  238. local leftleg = Instance.new("CharacterMesh",v.Parent)
  239. leftleg.BodyPart = "LeftLeg"
  240. leftleg.MeshId = "1112275294"
  241. local rightarm = Instance.new("CharacterMesh",v.Parent)
  242. rightarm.BodyPart = "RightArm"
  243. rightarm.MeshId = "1112244824"
  244. local rightleg = Instance.new("CharacterMesh",v.Parent)
  245. rightleg.BodyPart = "RightLeg"
  246. rightleg.MeshId = "1112267576"
  247. local torso = Instance.new("CharacterMesh",v.Parent)
  248. torso.BodyPart = "Torso"
  249. torso.MeshId = "1112228624"
  250. end
  251. end
  252. end
  253. end
  254. char.Torso.Touched:connect(onTouched)
  255. -- Transparency
  256. char["Left Arm"].Transparency = 0.5
  257. char["Left Leg"].Transparency = 0.5
  258. char["Right Arm"].Transparency = 0.5
  259. char["Right Leg"].Transparency = 0.5
  260. char["Head"].Transparency = 0.5
  261. char.Torso.Transparency = 0.5
  262. -- Color
  263. local bdycolors = char["Body Colors"]
  264. bdycolors.HeadColor = BrickColor.new("Really black")
  265. bdycolors.LeftArmColor = BrickColor.new("Really black")
  266. bdycolors.RightArmColor = BrickColor.new("Really black")
  267. bdycolors.LeftLegColor = BrickColor.new("Really black")
  268. bdycolors.RightLegColor = BrickColor.new("Really black")
  269. bdycolors.TorsoColor = BrickColor.new("Really black")
  270. -- Music
  271. local music = Instance.new("Sound",char)
  272. music.SoundId = "rbxassetid://182562357"
  273. music.Volume = 4
  274. music:Play()
  275. music.Looped = true
  276. -- Name
  277. local nametag = Instance.new("BillboardGui",char.Head)
  278. nametag.StudsOffset = Vector3.new(0,2,0)
  279. nametag.Adornee = char.Head
  280. nametag.Size = UDim2.new(0,200,0,50)
  281.  
  282. local text = Instance.new("TextLabel",nametag)
  283. text.Size = UDim2.new(0,200,0,50)
  284. text.BackgroundTransparency = 1
  285. text.Text = "The Ghost"
  286. text.TextColor3 = Color3.new(180/255,0,0)
  287. text.TextStrokeColor3 = Color3.new(0,0,0)
  288. text.Font = Enum.Font.Fantasy
  289. text.TextScaled = true
  290. text.TextStrokeTransparency = 0
  291. coroutine.wrap(function()
  292. while wait() do
  293. wait(3)
  294. text.Text = "GIVE UP"
  295. wait()
  296. text.Text = "The Ghost";
  297. wait(2)
  298. local str = ""
  299. for i = 1, math.random(3,25) do
  300. str = str..string.char(math.random(65,122))
  301. end
  302. text.Text = str
  303. wait()
  304. str = ""
  305. for i = 1, math.random(12,25) do
  306. str = str..string.char(math.random(48,122))
  307. end
  308. wait()
  309. text.Text = str
  310. wait()
  311. text.Text = "The Ghost";
  312. wait(1)
  313. text.Text = "BE GONE THOT"
  314. wait()
  315. text.Text = "Burn in hell."
  316. wait()
  317. text.Text = "The Ghost";
  318. wait(2)
  319. text.Text = "You made me do this.";
  320. wait()
  321. text.Text = "edgy";
  322. wait()
  323. for i = 1, math.random(12,25) do
  324. str = str..string.char(math.random(48,57))
  325. end
  326. text.Text = str
  327. wait()
  328. text.Text = "The Ghost";
  329. wait(2)
  330. end
  331. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement