Advertisement
Josemmoya

sssssssssssssssss

Jan 31st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.03 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 = game:GetService("Players").LocalPlayer
  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 Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. plr = owner
  88. char = plr.Character
  89. skin = BrickColor.new("Pastel brown")
  90.  
  91. wait(0.5)
  92. for i,v in pairs(char:GetChildren()) do
  93. if v.ClassName == "Shirt" or v.ClassName == "Pants" then
  94. v:Destroy()
  95. end
  96. end
  97. local shirt = Instance.new("Shirt",char)
  98. shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=115893651"
  99. local pants = Instance.new("Pants",char)
  100. pants.PantsTemplate = "http://www.roblox.com/asset/?id=115893704"
  101. local bdy = char["Body Colors"]
  102. bdy.HeadColor = skin
  103. bdy.LeftArmColor = skin
  104. bdy.LeftLegColor = skin
  105. bdy.RightArmColor = skin
  106. bdy.RightLegColor = skin
  107. bdy.TorsoColor = skin
  108. wait(1)
  109. local gunshot = Instance.new("Sound",char.Torso)
  110. gunshot.Name = "BANG"
  111. gunshot.SoundId = "rbxassetid://213603013"
  112. gunshot.Volume = 2
  113. gunshot:Play()
  114. char.Humanoid.WalkSpeed = 0
  115. char.Humanoid.JumpPower = 0
  116. char.Torso["Right Shoulder"].C1 = CFrame.new(0,0,0)
  117. char.Torso["Left Shoulder"].C1 = CFrame.new(0,0,0)
  118. char.Torso["Left Hip"].C1 = CFrame.new(0,0,0)
  119. char.Torso["Right Hip"].C1 = CFrame.new(0,0,0)
  120. char.HumanoidRootPart.RootJoint.C1 = CFrame.new(0,0,0)
  121. rlegweld = char.Torso["Right Hip"]
  122. llegweld = char.Torso["Left Hip"]
  123. rhandweld = char.Torso["Right Shoulder"]
  124. lhandweld = char.Torso["Left Shoulder"]
  125. humanoidrootpart = char.HumanoidRootPart.RootJoint
  126. for i = 0,1 , 0.03 do
  127. 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)
  128. 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)
  129. 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)
  130. 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)
  131. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -2.71110725, -1.9999876, 1, -1.89579053e-26, -7.87598728e-27, 7.01770661e-27, 6.76514401e-06, 1.0000025, -1.93673287e-26, -1.00000238, 6.85455143e-06),i)
  132. end
  133. wait(2)
  134. char.Torso.Neck.C1 = CFrame.new(0,0,0)
  135. local scream = Instance.new("Sound",char)
  136. scream.SoundId = "rbxassetid://566988981"
  137. scream.Volume = 4
  138. scream:Play()
  139. char.Head.face.Texture = "http://www.roblox.com/asset/?id=152630087"
  140. for i = 0,1 ,0.03 do
  141. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(1.1920929e-07, 1.01759481, 0.499690324, 1, 2.27373675e-13, -3.63797881e-12, 7.27595761e-12, 0.0351885781, -0.999380767, 7.81597009e-14, 0.999380767, 0.0351885781),i)
  142. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.43054783, 2.02057076, -4.70876694e-06, -0.998074114, -0.0620345771, -4.98416557e-06, 0.0620345846, -0.998074114, 2.182147e-06, -5.10993777e-06, 1.86875695e-06, 1.00000012),i)
  143. end
  144. wait(2)
  145. for i = 0,1 ,0.03 do
  146. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.5, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),i)
  147. 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)
  148. end
  149. wait(4)
  150. for i = 0,1 , 0.03 do
  151. 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)
  152. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  153. 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)
  154. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.9999913, 0, 1, 0, 0, 0, 0.999995589, 0, 0, 0, 1),i)
  155. char.Torso.Neck.C0 = char.Torso.Neck.C0:lerp(CFrame.new(0, 1.4999938, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  156. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.999995708, 0, 0, 0, 1),i)
  157. end
  158. local nametag = Instance.new("BillboardGui",char)
  159. nametag.StudsOffset = Vector3.new(0,2,0)
  160. nametag.Adornee = char.Head
  161. nametag.Size = UDim2.new(0,200,0,50)
  162.  
  163. local text = Instance.new("TextLabel",nametag)
  164. text.Size = UDim2.new(0,200,0,50)
  165. text.BackgroundTransparency = 1
  166. text.Text = "The Ghost"
  167. text.TextColor3 = Color3.new(180/255,0,0)
  168. text.TextStrokeColor3 = Color3.new(0,0,0)
  169. text.Font = Enum.Font.Fantasy
  170. text.TextScaled = true
  171. text.TextStrokeTransparency = 0
  172. coroutine.wrap(function()
  173. while wait() do
  174. wait(3)
  175. text.Text = "GIVE UP"
  176. wait()
  177. text.Text = "The Ghost";
  178. wait(2)
  179. local str = ""
  180. for i = 1, math.random(3,25) do
  181. str = str..string.char(math.random(65,122))
  182. end
  183. text.Text = str
  184. wait()
  185. str = ""
  186. for i = 1, math.random(12,25) do
  187. str = str..string.char(math.random(48,122))
  188. end
  189. wait()
  190. text.Text = str
  191. wait()
  192. text.Text = "The Ghost";
  193. wait(1)
  194. text.Text = "BE GONE THOT"
  195. wait()
  196. text.Text = "Burn in hell."
  197. wait()
  198. text.Text = "The Ghost";
  199. wait(2)
  200. text.Text = "You made me do this.";
  201. wait()
  202. text.Text = "edgy";
  203. wait()
  204. for i = 1, math.random(12,25) do
  205. str = str..string.char(math.random(48,57))
  206. end
  207. text.Text = str
  208. wait()
  209. text.Text = "The Ghost";
  210. wait(2)
  211. end
  212. end)()
  213. char.Humanoid.WalkSpeed = 16
  214. char.Humanoid.JumpPower = 50
  215. local rhandclone = owner.Character.Torso["Right Shoulder"]:Clone()
  216. local rhandweld = Instance.new("Weld", owner.Character.Torso)
  217. rhandweld.Part0 = owner.Character.Torso
  218. rhandweld.Part1 = owner.Character["Right Arm"]
  219. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  220. local lhandclone = owner.Character.Torso["Left Shoulder"]:Clone()
  221. local lhandweld = Instance.new("Weld", owner.Character.Torso)
  222. lhandweld.Part0 = owner.Character.Torso
  223. lhandweld.Part1 = owner.Character["Left Arm"]
  224. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  225. local llegclone = owner.Character.Torso["Left Hip"]:Clone()
  226. owner.Character.Torso["Left Hip"]:Remove()
  227. local llegweld = Instance.new("Weld", owner.Character.Torso)
  228. llegweld.Part0 = owner.Character.Torso
  229. llegweld.Part1 = owner.Character["Left Leg"]
  230. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  231. local rlegclone = owner.Character.Torso["Right Hip"]:Clone()
  232. owner.Character.Torso["Right Hip"]:Remove()
  233. local rlegweld = Instance.new("Weld", owner.Character.Torso)
  234. rlegweld.Part0 = owner.Character.Torso
  235. rlegweld.Part1 = owner.Character["Right Leg"]
  236. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  237. local rootjointclone = owner.Character.HumanoidRootPart.RootJoint:Clone()
  238. owner.Character.HumanoidRootPart.RootJoint:Remove()
  239. local humanoidrootpart = Instance.new("Weld", owner.Character.Torso)
  240. humanoidrootpart.Part0 = owner.Character.HumanoidRootPart
  241. humanoidrootpart.Part1 = owner.Character.Torso
  242. local heed = owner.Character.Torso["Neck"]:Clone()
  243. local headweld = Instance.new("Weld", owner.Character.Torso)
  244. headweld.Part0 = owner.Character.Torso
  245. headweld.Part1 = owner.Character.Head
  246. headweld.C0 = CFrame.new(0, 1.5, 0, 0.805139124, -0.593086064, 0, 0.593086064, 0.805139124, 0, 0, 0, 1)
  247. model = Instance.new("Model",char)
  248. char.Humanoid.Name = "nil"
  249. for i,v in pairs(char:GetChildren()) do
  250. if v.ClassName == "Accessory" then
  251. v:Remove()
  252. end
  253. end
  254. for i,v in pairs(char:GetChildren()) do
  255. if v.ClassName == "Part" then
  256. v.Transparency = 1
  257. end
  258. end
  259. local music = Instance.new("Sound",char)
  260. music.SoundId = "rbxassetid://254933693"
  261. music.Volume = 4
  262. music.Looped = true
  263. music:Play()
  264. local hitbox = Instance.new("Part",char.Torso)
  265. hitbox.Size = char.Torso.Size
  266. hitbox.Transparency = 1
  267. hitbox.CanCollide = false
  268. local hweld = Instance.new("Weld",hitbox)
  269. hweld.Part0 = hitbox
  270. hweld.Part1 = char.Torso
  271. hweld.C0 = CFrame.new(0, 0, 1.02879095, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  272. local slap = Instance.new("Sound",char)
  273. slap.SoundId = "rbxassetid://261566877"
  274. slap.Name = "damage"
  275. slap.Volume = 4
  276. hitbox.Touched:connect(function(part)
  277. local hum = part.Parent:FindFirstChildOfClass("Humanoid")
  278. if hum then
  279. slap:Play()
  280. hum.Sit = true
  281. hum.JumpPower = 0
  282. wait(3)
  283. for i,v in pairs(hum.Parent:GetChildren()) do
  284. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  285. local cp = Instance.new("BodyPosition",v)
  286. cp.Position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  287. v.BrickColor = BrickColor.new("Really black")
  288. game:GetService("Debris"):AddItem(hum.Parent,2)
  289. end
  290. end
  291. hum.Health = 0
  292. hum.Name = "w h y ?"
  293. end
  294. end)
  295. char.Parent = game.Workspace.CurrentCamera
  296. model.Parent = game.Workspace
  297. model.Name = "GhostTrail"
  298. char.Head.face:Remove()
  299. while true do
  300. wait(0.01)
  301. if model.Parent == nil then
  302. model.Parent = game.Workspace
  303. end
  304. local hum = char:FindFirstChildOfClass("Humanoid")
  305. hum.MaxHealth = math.huge
  306. hum.Health = math.huge
  307. for i,v in pairs(char:GetChildren()) do
  308. if v.ClassName == "Part" then
  309. local cp = v:Clone()
  310. cp.Parent = model
  311. cp.Anchored = true
  312. cp.CanCollide = false
  313. cp.BrickColor = BrickColor.new("Really black")
  314. cp.Material = Enum.Material.SmoothPlastic
  315. cp.Transparency = 0.8
  316. if cp.Name == "HumanoidRootPart" then
  317. cp:Remove()
  318. end
  319. for i,v in pairs(cp:GetChildren()) do
  320. if v.ClassName == "Motor6D" or v.ClassName == "Weld" then
  321. v:Remove()
  322. end
  323. end
  324. game:GetService("Debris"):AddItem(cp,0.2)
  325. end
  326. end
  327. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement