VoidScriptPlayer

Untitled

May 30th, 2019
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --void Script bbuilder fe script converter V2
  2.  
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7.  
  8. --By Rufus14 lolol
  9. --Converted with ttyyuu12345's model to script plugin v4
  10. function sandbox(var,func)
  11. local env = getfenv(func)
  12. local newenv = setmetatable({},{
  13. __index = function(self,k)
  14. if k=="script" then
  15. return var
  16. else
  17. return env[k]
  18. end
  19. end,
  20. })
  21. setfenv(func,newenv)
  22. return func
  23. end
  24. cors = {}
  25. mas = Instance.new("Model",game:GetService("Lighting"))
  26. Part0 = Instance.new("Part")
  27. Sound1 = Instance.new("Sound")
  28. Attachment2 = Instance.new("Attachment")
  29. RopeConstraint3 = Instance.new("RopeConstraint")
  30. Part4 = Instance.new("Part")
  31. SpecialMesh5 = Instance.new("SpecialMesh")
  32. Attachment6 = Instance.new("Attachment")
  33. RopeConstraint7 = Instance.new("RopeConstraint")
  34. RopeConstraint8 = Instance.new("RopeConstraint")
  35. Part0.Parent = mas
  36. Part0.BrickColor = BrickColor.new("Pearl")
  37. Part0.Anchored = true
  38. Part0.Size = Vector3.new(9.97000027, 0.720000267, 7.03999949)
  39. Part0.CFrame = CFrame.new(16.7149887, 13.7606668, 36.7299957, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  40. Part0.BottomSurface = Enum.SurfaceType.Smooth
  41. Part0.TopSurface = Enum.SurfaceType.Smooth
  42. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  43. Part0.Position = Vector3.new(16.7149887, 13.7606668, 36.7299957)
  44. Part0.Color = Color3.new(0.905882, 0.905882, 0.92549)
  45. Sound1.Parent = Part0
  46. Sound1.SoundId = "rbxassetid://1205183071"
  47. Attachment6.Parent = Part0
  48. Attachment6.Visible = true
  49. RopeConstraint8.Parent = Attachment6
  50. RopeConstraint8.Color = BrickColor.new("Maroon")
  51. RopeConstraint8.Visible = true
  52. RopeConstraint8.Attachment0 = nil
  53. RopeConstraint8.Attachment1 = Attachment6
  54. RopeConstraint8.Color = BrickColor.new("Maroon")
  55. RopeConstraint8.Length = 7.5
  56. RopeConstraint8.Thickness = 0.20000000298023
  57. RopeConstraint8.Restitution = 0.10000000149012
  58. Part4.Parent = mas
  59. Part4.Size = Vector3.new(3.6299994, 2.9199996, 2.94999957)
  60. Part4.CFrame = CFrame.new(16.4487038, 1.47368073, 36.9643707, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  61. Part4.BottomSurface = Enum.SurfaceType.Smooth
  62. Part4.TopSurface = Enum.SurfaceType.Smooth
  63. Part4.Position = Vector3.new(16.4487038, 1.47368073, 36.9643707)
  64. SpecialMesh5.Parent = Part4
  65. SpecialMesh5.MeshId = "http://www.roblox.com/asset/?id=112335925"
  66. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  67. SpecialMesh5.TextureId = "http://www.roblox.com/asset/?id=112335881"
  68. SpecialMesh5.MeshType = Enum.MeshType.FileMesh
  69. SpecialMesh5.Scale = Vector3.new(3, 3, 3)
  70. Attachment6.Parent = Part0
  71. Attachment6.Visible = true
  72. RopeConstraint8.Parent = Attachment6
  73. RopeConstraint8.Color = BrickColor.new("Maroon")
  74. RopeConstraint8.Visible = true
  75. RopeConstraint8.Length = 7.5
  76. RopeConstraint8.Thickness = 0.20000000298023
  77. RopeConstraint8.Restitution = 0
  78. for i,v in pairs(mas:GetChildren()) do
  79. v.Parent = game:GetService("Players").LocalPlayer.Character
  80. pcall(function() v:MakeJoints() end)
  81. end
  82. mas:Destroy()
  83. for i,v in pairs(cors) do
  84. spawn(function()
  85. pcall(v)
  86. end)
  87. end
  88. Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,7.5,0)
  89. game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,2,0)
  90. Part4.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame * CFrame.new(0,-3,0)
  91. RopeConstraint8.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
  92. RopeConstraint8.Attachment1 = Attachment6
  93. RopeConstraint8.Visible = true
  94. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  95. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  96. -- Objects
  97.  
  98. local ScreenGui = Instance.new("ScreenGui")
  99. local TextButton = Instance.new("TextButton")
  100.  
  101. -- Properties
  102.  
  103. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  104.  
  105. TextButton.Parent = ScreenGui
  106. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  107. TextButton.Position = UDim2.new(0.318378747, 0, 0.816154361, 0)
  108. TextButton.Size = UDim2.new(0, 496, 0, 135)
  109. TextButton.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
  110. TextButton.Font = Enum.Font.SourceSans
  111. TextButton.FontSize = Enum.FontSize.Size14
  112. TextButton.Text = "Suicide"
  113. TextButton.TextColor3 = Color3.new(0.454902, 0, 0)
  114. TextButton.TextScaled = true
  115. TextButton.TextSize = 14
  116. TextButton.TextWrapped = true
  117. function kys()
  118. ScreenGui:destroy()
  119. local bodyvel = Instance.new("BodyVelocity", Part4)
  120. bodyvel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 45
  121. local death = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  122. death.Volume = 10
  123. death.SoundId = "rbxassetid://12222242"
  124. wait(0.2)
  125. death:Play()
  126. bodyvel:destroy()
  127. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  128. if game.Players.LocalPlayer.Character:findFirstChild("Torso") then
  129. game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * 10
  130. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:GetChildren()) do
  131. if v.ClassName == "Motor6D" then
  132. if v.Name == "Neck" then
  133.  
  134. else
  135. v:destroy()
  136. end
  137. end
  138. end
  139. end
  140. if game.Players.LocalPlayer.Character:findFirstChild("Right Arm") then
  141. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  142. attachment.Position = Vector3.new(1, 1, 0)
  143. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  144. ball.Attachment0 = game.Players.LocalPlayer.Character["Right Arm"].RightShoulderAttachment
  145. ball.Attachment1 = attachment
  146. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  147. collidepartofleftleg.Name = "Bone"
  148. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  149. collidepartofleftleg.Transparency = 1
  150. collidepartofleftleg:BreakJoints()
  151. local weeld = Instance.new("Weld", collidepartofleftleg)
  152. weeld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  153. weeld.Part1 = collidepartofleftleg
  154. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  155. end
  156. if game.Players.LocalPlayer.Character:findFirstChild("Left Arm") then
  157. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  158. attachment.Position = Vector3.new(-1, 1, 0)
  159. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  160. ball.Attachment0 = attachment
  161. ball.Attachment1 = game.Players.LocalPlayer.Character["Left Arm"].LeftShoulderAttachment
  162. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  163. collidepartofleftleg.Name = "Bone"
  164. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  165. collidepartofleftleg.Transparency = 1
  166. collidepartofleftleg:BreakJoints()
  167. local weeld = Instance.new("Weld", collidepartofleftleg)
  168. weeld.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  169. weeld.Part1 = collidepartofleftleg
  170. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  171. end
  172. if game.Players.LocalPlayer.Character:findFirstChild("Right Leg") then
  173. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  174. attachment.Position = Vector3.new(0.5, -1, 0)
  175. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  176. ball.Attachment0 = game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment
  177. ball.Attachment1 = attachment
  178. game.Players.LocalPlayer.Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0)
  179. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  180. collidepartofleftleg.Name = "Bone"
  181. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  182. collidepartofleftleg.Transparency = 1
  183. collidepartofleftleg:BreakJoints()
  184. local weeld = Instance.new("Weld", collidepartofleftleg)
  185. weeld.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  186. weeld.Part1 = collidepartofleftleg
  187. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  188. end
  189. if game.Players.LocalPlayer.Character:findFirstChild("Left Leg") then
  190. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Torso)
  191. attachment.Position = Vector3.new(-0.5, -1, 0)
  192. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  193. ball.Attachment0 = game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment
  194. ball.Attachment1 = attachment
  195. game.Players.LocalPlayer.Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0)
  196. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  197. collidepartofleftleg.Name = "Bone"
  198. collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8)
  199. collidepartofleftleg.Transparency = 1
  200. collidepartofleftleg:BreakJoints()
  201. local weeld = Instance.new("Weld", collidepartofleftleg)
  202. weeld.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  203. weeld.Part1 = collidepartofleftleg
  204. weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0)
  205. end
  206. if game.Players.LocalPlayer.Character:findFirstChild("Head") then
  207. local attachment = Instance.new("Attachment", game.Players.LocalPlayer.Character.Head)
  208. attachment.Position = Vector3.new(0, -0.5, 0)
  209. attachment.Name = "lol"
  210. attachment.Visible = false
  211. game.Players.LocalPlayer.Character.Torso.NeckAttachment.Visible = false
  212. game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position = game.Players.LocalPlayer.Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  213. local ball = Instance.new("BallSocketConstraint", game.Players.LocalPlayer.Character)
  214. ball.Attachment0 = game.Players.LocalPlayer.Character.Torso.NeckAttachment
  215. ball.Attachment1 = attachment
  216. ball.LimitsEnabled = true
  217. ball.TwistLimitsEnabled = true
  218. ball.UpperAngle = 90
  219. ball.Restitution = 0.5
  220. ball.TwistUpperAngle = 180
  221. ball.TwistLowerAngle = -180
  222. local collidepartofleftleg = Instance.new("Part", game.Players.LocalPlayer.Character.Torso)
  223. collidepartofleftleg.Name = "Bone"
  224. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  225. collidepartofleftleg.Transparency = 1
  226. collidepartofleftleg:BreakJoints()
  227. local weeld = Instance.new("Weld", collidepartofleftleg)
  228. weeld.Part0 = collidepartofleftleg
  229. weeld.Part1 = game.Players.LocalPlayer.Character["Head"]
  230. if game.Players.LocalPlayer.Character.Torso:findFirstChild("Neck") then
  231. game.Players.LocalPlayer.Character.Torso.Neck:destroy()
  232. end
  233. if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
  234. game.Players.LocalPlayer.Character.Head.face.Texture = "http://www.roblox.com/asset/?id=810245460"
  235. end
  236. end
  237. game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
  238. game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
  239. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 0
  240. game.Players.LocalPlayer.Character.Humanoid.JumpPower = 0
  241. local dead = Instance.new("Sound", game.Players.LocalPlayer.Character.Head)
  242. dead.Volume = 10
  243. dead.SoundId = "rbxassetid://1248405065"
  244. dead:Play()
  245. dead.Looped = true
  246. while true do
  247. game.Players.LocalPlayer.Character.Humanoid.Health = 0.1
  248. game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true
  249. wait()
  250. end
  251. end
  252. TextButton.MouseButton1Click:connect(kys)
Advertisement
Add Comment
Please, Sign In to add comment