Advertisement
wormybag9035

gsa

Jul 2nd, 2019
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.85 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").wormybag9035
  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. --By Rufus14 lolol
  87. --Converted with ttyyuu12345's model to script plugin v4
  88. function sandbox(var,func)
  89. local env = getfenv(func)
  90. local newenv = setmetatable({},{
  91. __index = function(self,k)
  92. if k=="script" then
  93. return var
  94. else
  95. return env[k]
  96. end
  97. end,
  98. })
  99. setfenv(func,newenv)
  100. return func
  101. end
  102. cors = {}
  103. mas = Instance.new("Model",game:GetService("Lighting"))
  104. Part0 = Instance.new("Part")
  105. Sound1 = Instance.new("Sound")
  106. Attachment2 = Instance.new("Attachment")
  107. RopeConstraint3 = Instance.new("RopeConstraint")
  108. Part4 = Instance.new("Part")
  109. SpecialMesh5 = Instance.new("SpecialMesh")
  110. Attachment6 = Instance.new("Attachment")
  111. RopeConstraint7 = Instance.new("RopeConstraint")
  112. RopeConstraint8 = Instance.new("RopeConstraint")
  113. Part0.Parent = mas
  114. Part0.BrickColor = BrickColor.new("Pearl")
  115. Part0.Anchored = true
  116. Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949)
  117. Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  118. Part0.BottomSurface = Enum.SurfaceType.Smooth
  119. Part0.TopSurface = Enum.SurfaceType.Smooth
  120. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  121. Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957)
  122. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  123. Sound1.Parent = Part0
  124. Sound1.SoundId = "rbxassetid://1205183071"
  125. Attachment6.Parent = Part0
  126. Attachment6.Visible = true
  127. RopeConstraint8.Parent = Attachment6
  128. RopeConstraint8.Color = BrickColor.new("Maroon")
  129. RopeConstraint8.Visible = true
  130. RopeConstraint8.Attachment0 = nil
  131. RopeConstraint8.Attachment1 = Attachment6
  132. RopeConstraint8.Color = BrickColor.new("Maroon")
  133. RopeConstraint8.Length = 7.5
  134. RopeConstraint8.Thickness = 0.20000000298023
  135. RopeConstraint8.Restitution = 0.10000000149012
  136. Part4.Parent = mas
  137. Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957)
  138. Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  139. Part4.BottomSurface = Enum.SurfaceType.Smooth
  140. Part4.TopSurface = Enum.SurfaceType.Smooth
  141. Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707)
  142. SpecialMesh5.Parent = Part4
  143. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925"
  144. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  145. SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881"
  146. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  147. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  148. Attachment6.Parent = Part0
  149. Attachment6.Visible = true
  150. RopeConstraint8.Parent = Attachment6
  151. RopeConstraint8.Color = BrickColor.new("Maroon")
  152. RopeConstraint8.Visible = true
  153. RopeConstraint8.Length = 7.5
  154. RopeConstraint8.Thickness = 0.20000000298023
  155. RopeConstraint8.Restitution = 0
  156. for i,v in pairs(mas:GetChildren()) do
  157. v.Parent = game:GetService("Players").wormybag9035.Character
  158. pcall(function() v:MakeJoints() end)
  159. end
  160. mas:Destroy()
  161. for i,v in pairs(cors) do
  162. spawn(function()
  163. pcall(v)
  164. end)
  165. end
  166. Part0.CFrame = game.Players.wormybag9035.Character.Head.CFrame * CFrame.new(0,7.5,0)
  167. game.Players.wormybag9035.Character.Torso.CFrame = game.Players.wormybag9035.Character.Torso.CFrame * CFrame.new(0,2,0)
  168. Part4.CFrame = game.Players.wormybag9035.Character.Torso.CFrame * CFrame.new(0,-3,0)
  169. RopeConstraint8.Attachment0 = game.Players.wormybag9035.Character.Torso.NeckAttachment
  170. RopeConstraint8.Attachment1 = Attachment6
  171. RopeConstraint8.Visible = true
  172. game.Players.wormybag9035.Character.Humanoid.WalkSpeed = 0
  173. game.Players.wormybag9035.Character.Humanoid.JumpPower = 0
  174. -- Objects
  175.  
  176. local ScreenGui = Instance.new("ScreenGui")
  177. local TextButton = Instance.new("TextButton")
  178.  
  179. -- Properties
  180.  
  181. ScreenGui.Parent = game.Players.wormybag9035.PlayerGui
  182.  
  183. TextButton.Parent = ScreenGui
  184. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  185. TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0)
  186. TextButton.Size = UDim2.new(0, 496, 0, 135)
  187. TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  188. TextButton.Font = Enum.Font.SourceSans
  189. TextButton.FontSize = Enum.FontSize.Size14
  190. TextButton.Text = "Suicide"
  191. TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
  192. TextButton.TextScaled = true
  193. TextButton.TextSize = 14
  194. TextButton.TextWrapped = true
  195. function kys()
  196. ScreenGui:destroy()
  197. local bodyvel = Instance.new("BodyVelocity", Part4)
  198. bodyvel.Velocity = game.Players.wormybag9035.Character.Torso.CFrame.lookVector * 45
  199. local death = Instance.new("Sound", game.Players.wormybag9035.Character.Head)
  200. death.Volume = 10
  201. death.SoundId = "rbxassetid://12222242"
  202. wait(0.2)
  203. death:Play()
  204. bodyvel:destroy()
  205. game.Players.wormybag9035.Character.Humanoid.PlatformStand = true
  206. if game.Players.wormybag9035.Character:findFirstChild("Torso") then
  207. game.Players.wormybag9035.Character.Torso.Velocity = game.Players.wormybag9035.Character.Torso.CFrame.lookVector * 10
  208. for i,v in pairs(game.Players.wormybag9035.Character.Torso:GetChildren()) do
  209. if v.ClassName == "Motor6D" then
  210. if v.Name == "Neck" then
  211.  
  212. else
  213. v:destroy()
  214. end
  215. end
  216. end
  217. end
  218. if game.Players.wormybag9035.Character:findFirstChild("Right Arm") then
  219. local attachment = Instance.new("Attachment", game.Players.wormybag9035.Character.Torso)
  220. attachment.Position = Vector3.new(1, 1, 0)
  221. local ball = Instance.new("BallSocketConstraint", game.Players.wormybag9035.Character)
  222. ball.Attachment0 = game.Players.wormybag9035.Character["Right Arm"].RightShoulderAttachment
  223. ball.Attachment1 = attachment
  224. local collidepartofleftleg = Instance.new("Part", game.Players.wormybag9035.Character.Torso)
  225. collidepartofleftleg.Name = "Bone"
  226. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  227. collidepartofleftleg.Transparency = 1
  228. collidepartofleftleg:BreakJoints()
  229. local weeld = Instance.new("Weld", collidepartofleftleg)
  230. weeld.Part0 = game.Players.wormybag9035.Character["Right Arm"]
  231. weeld.Part1 = collidepartofleftleg
  232. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  233. end
  234. if game.Players.wormybag9035.Character:findFirstChild("Left Arm") then
  235. local attachment = Instance.new("Attachment", game.Players.wormybag9035.Character.Torso)
  236. attachment.Position = Vector3.new(-1, 1, 0)
  237. local ball = Instance.new("BallSocketConstraint", game.Players.wormybag9035.Character)
  238. ball.Attachment0 = attachment
  239. ball.Attachment1 = game.Players.wormybag9035.Character["Left Arm"].LeftShoulderAttachment
  240. local collidepartofleftleg = Instance.new("Part", game.Players.wormybag9035.Character.Torso)
  241. collidepartofleftleg.Name = "Bone"
  242. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  243. collidepartofleftleg.Transparency = 1
  244. collidepartofleftleg:BreakJoints()
  245. local weeld = Instance.new("Weld", collidepartofleftleg)
  246. weeld.Part0 = game.Players.wormybag9035.Character["Left Arm"]
  247. weeld.Part1 = collidepartofleftleg
  248. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  249. end
  250. if game.Players.wormybag9035.Character:findFirstChild("Right Leg") then
  251. local attachment = Instance.new("Attachment", game.Players.wormybag9035.Character.Torso)
  252. attachment.Position = Vector3.new(0.5, -1, 0)
  253. local ball = Instance.new("BallSocketConstraint", game.Players.wormybag9035.Character)
  254. ball.Attachment0 = game.Players.wormybag9035.Character["Right Leg"].RightFootAttachment
  255. ball.Attachment1 = attachment
  256. game.Players.wormybag9035.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  257. local collidepartofleftleg = Instance.new("Part", game.Players.wormybag9035.Character.Torso)
  258. collidepartofleftleg.Name = "Bone"
  259. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  260. collidepartofleftleg.Transparency = 1
  261. collidepartofleftleg:BreakJoints()
  262. local weeld = Instance.new("Weld", collidepartofleftleg)
  263. weeld.Part0 = game.Players.wormybag9035.Character["Right Leg"]
  264. weeld.Part1 = collidepartofleftleg
  265. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  266. end
  267. if game.Players.wormybag9035.Character:findFirstChild("Left Leg") then
  268. local attachment = Instance.new("Attachment", game.Players.wormybag9035.Character.Torso)
  269. attachment.Position = Vector3.new(-0.5, -1, 0)
  270. local ball = Instance.new("BallSocketConstraint", game.Players.wormybag9035.Character)
  271. ball.Attachment0 = game.Players.wormybag9035.Character["Left Leg"].LeftFootAttachment
  272. ball.Attachment1 = attachment
  273. game.Players.wormybag9035.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  274. local collidepartofleftleg = Instance.new("Part", game.Players.wormybag9035.Character.Torso)
  275. collidepartofleftleg.Name = "Bone"
  276. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  277. collidepartofleftleg.Transparency = 1
  278. collidepartofleftleg:BreakJoints()
  279. local weeld = Instance.new("Weld", collidepartofleftleg)
  280. weeld.Part0 = game.Players.wormybag9035.Character["Left Leg"]
  281. weeld.Part1 = collidepartofleftleg
  282. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  283. end
  284. if game.Players.wormybag9035.Character:findFirstChild("Head") then
  285. local attachment = Instance.new("Attachment", game.Players.wormybag9035.Character.Head)
  286. attachment.Position = Vector3.new(0, -0.5, 0)
  287. attachment.Name = "lol"
  288. attachment.Visible = false
  289. game.Players.wormybag9035.Character.Torso.NeckAttachment.Visible = false
  290. game.Players.wormybag9035.Character.Torso.NeckAttachment.Position = game.Players.wormybag9035.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  291. local ball = Instance.new("BallSocketConstraint", game.Players.wormybag9035.Character)
  292. ball.Attachment0 = game.Players.wormybag9035.Character.Torso.NeckAttachment
  293. ball.Attachment1 = attachment
  294. ball.LimitsEnabled = true
  295. ball.TwistLimitsEnabled = true
  296. ball.UpperAngle = 90
  297. ball.Restitution = 0.5
  298. ball.TwistUpperAngle = 180
  299. ball.TwistLowerAngle = -180
  300. local collidepartofleftleg = Instance.new("Part", game.Players.wormybag9035.Character.Torso)
  301. collidepartofleftleg.Name = "Bone"
  302. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  303. collidepartofleftleg.Transparency = 1
  304. collidepartofleftleg:BreakJoints()
  305. local weeld = Instance.new("Weld", collidepartofleftleg)
  306. weeld.Part0 = collidepartofleftleg
  307. weeld.Part1 = game.Players.wormybag9035.Character["Head"]
  308. if game.Players.wormybag9035.Character.Torso:findFirstChild("Neck") then
  309. game.Players.wormybag9035.Character.Torso.Neck:destroy()
  310. end
  311. if game.Players.wormybag9035.Character.Head:findFirstChild("face") then
  312. game.Players.wormybag9035.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  313. end
  314. end
  315. game.Players.wormybag9035.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  316. game.Players.wormybag9035.Character.Humanoid.Health = 0.1
  317. game.Players.wormybag9035.Character.Humanoid.WalkSpeed = 0
  318. game.Players.wormybag9035.Character.Humanoid.JumpPower = 0
  319. local dead = Instance.new("Sound", game.Players.wormybag9035.Character.Head)
  320. dead.Volume = 10
  321. dead.SoundId = "rbxassetid://1248405065"
  322. dead:Play()
  323. dead.Looped = true
  324. while true do
  325. game.Players.wormybag9035.Character.Humanoid.Health = 0.1
  326. game.Players.wormybag9035.Character.Humanoid.PlatformStand = true
  327. wait()
  328. end
  329. end
  330. TextButton.MouseButton1Click:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement