RoGhoulXD

[Add More+] Ro Ghoul Script [Optional]

Jan 30th, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.52 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local ScreenGui = Instance.new("ScreenGui")
  7. local main = Instance.new("Frame")
  8. local Name = Instance.new("TextLabel")
  9. local Test1 = Instance.new("TextButton")
  10. local Test2 = Instance.new("TextButton")
  11. local Test3 = Instance.new("TextButton")
  12. local close = Instance.new("TextButton")
  13. local Credits = Instance.new("TextLabel")
  14. local clicktp = Instance.new("TextButton")
  15. local OpenFrame = Instance.new("Frame")
  16. local Open = Instance.new("TextButton")
  17. local Fly = Instance.new("TextButton")
  18.  
  19. --Properties:
  20.  
  21. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  22. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  23.  
  24. main.Name = "main"
  25. main.Parent = ScreenGui
  26. main.BackgroundColor3 = Color3.fromRGB(85, 0, 255)
  27. main.BorderColor3 = Color3.fromRGB(255, 0, 255)
  28. main.BorderSizePixel = 5
  29. main.Position = UDim2.new(0.361967921, 0, 0.137110949, 0)
  30. main.Size = UDim2.new(0, 294, 0, 372)
  31. main.Draggable = true
  32. main.Active = true
  33.  
  34. Name.Name = "Name"
  35. Name.Parent = main
  36. Name.BackgroundColor3 = Color3.fromRGB(85, 0, 255)
  37. Name.BorderColor3 = Color3.fromRGB(255, 0, 255)
  38. Name.BorderSizePixel = 5
  39. Name.Size = UDim2.new(0, 294, 0, 50)
  40. Name.Font = Enum.Font.SourceSans
  41. Name.Text = "RoGhoul Gui"
  42. Name.TextColor3 = Color3.fromRGB(255, 255, 255)
  43. Name.TextScaled = true
  44. Name.TextSize = 14.000
  45. Name.TextWrapped = true
  46.  
  47. close.Name = "close"
  48. close.Parent = main
  49. close.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  50. close.BackgroundTransparency = 1.000
  51. close.Position = UDim2.new(0.935374141, 0, 0, 0)
  52. close.Size = UDim2.new(0, 13, 0, 50)
  53. close.Font = Enum.Font.GothamBlack
  54. close.Text = "X"
  55. close.TextColor3 = Color3.fromRGB(255, 255, 255)
  56. close.TextScaled = true
  57. close.TextSize = 14.000
  58. close.TextWrapped = true
  59. close.MouseButton1Down:connect(function()
  60. main.Visible = false
  61. end)
  62.  
  63. Credits.Name = "Credits"
  64. Credits.Parent = main
  65. Credits.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  66. Credits.BackgroundTransparency = 1.000
  67. Credits.Position = UDim2.new(0, 0, 0.922043025, 0)
  68. Credits.Size = UDim2.new(0, 294, 0, 21)
  69. Credits.Font = Enum.Font.GothamBold
  70. Credits.Text = "-- Coming Soon --"
  71. Credits.TextColor3 = Color3.fromRGB(255, 255, 255)
  72. Credits.TextScaled = true
  73. Credits.TextSize = 14.000
  74. Credits.TextWrapped = true
  75.  
  76. OpenFrame.Name = "OpenFrame"
  77. OpenFrame.Parent = ScreenGui
  78. OpenFrame.Active = true
  79. OpenFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. OpenFrame.BorderSizePixel = 0
  81. OpenFrame.Position = UDim2.new(0, 0, 0.428849906, 0)
  82. OpenFrame.Size = UDim2.new(0, 100, 0, 28)
  83.  
  84. Open.Name = "Open"
  85. Open.Parent = OpenFrame
  86. Open.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  87. Open.BorderSizePixel = 0
  88. Open.Size = UDim2.new(0, 100, 0, 28)
  89. Open.Font = Enum.Font.GothamBold
  90. Open.Text = "Open"
  91. Open.TextColor3 = Color3.fromRGB(255, 255, 255)
  92. Open.TextScaled = true
  93. Open.TextSize = 14.000
  94. Open.TextWrapped = true
  95. Open.MouseButton1Down:connect(function()
  96. main.Visible = true
  97. end)
  98.  
  99. Fly.Name = "Fly"
  100. Fly.Parent = main
  101. Fly.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  102. Fly.BorderSizePixel = 0
  103. Fly.Position = UDim2.new(0.159863949, 0, 0.634408593, 0)
  104. Fly.Size = UDim2.new(0, 200, 0, 50)
  105. Fly.Font = Enum.Font.Nunito
  106. Fly.Text = "Fly(Not Working)"
  107. Fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  108. Fly.TextScaled = true
  109. Fly.TextSize = 14.000
  110. Fly.TextWrapped = true
  111. Fly.MouseButton1Down:connect(function()
  112. -- FE Fly (Push E)
  113. repeat wait()
  114. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  115. local mouse = game.Players.LocalPlayer:GetMouse()
  116. repeat wait() until mouse
  117. local plr = game.Players.LocalPlayer
  118. local torso = plr.Character.Torso
  119. local flying = true
  120. local deb = true
  121. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  122. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  123. local maxspeed = 50
  124. local speed = 0
  125.  
  126. function Fly()
  127. local bg = Instance.new("BodyGyro", torso)
  128. bg.P = 9e4
  129. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  130. bg.cframe = torso.CFrame
  131. local bv = Instance.new("BodyVelocity", torso)
  132. bv.velocity = Vector3.new(0,0.1,0)
  133. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  134. repeat wait()
  135. plr.Character.Humanoid.PlatformStand = true
  136. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  137. speed = speed+.5+(speed/maxspeed)
  138. if speed > maxspeed then
  139. speed = maxspeed
  140. end
  141. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  142. speed = speed-1
  143. if speed < 0 then
  144. speed = 0
  145. end
  146. end
  147. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  148. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  149. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  150. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  151. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  152. else
  153. bv.velocity = Vector3.new(0,0.1,0)
  154. end
  155. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  156. until not flying
  157. ctrl = {f = 0, b = 0, l = 0, r = 0}
  158. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  159. speed = 0
  160. bg:Destroy()
  161. bv:Destroy()
  162. plr.Character.Humanoid.PlatformStand = false
  163. end
  164. mouse.KeyDown:connect(function(key)
  165. if key:lower() == "e" then
  166. if flying then flying = false
  167. else
  168. flying = true
  169. Fly()
  170. end
  171. elseif key:lower() == "w" then
  172. ctrl.f = 1
  173. elseif key:lower() == "s" then
  174. ctrl.b = -1
  175. elseif key:lower() == "a" then
  176. ctrl.l = -1
  177. elseif key:lower() == "d" then
  178. ctrl.r = 1
  179. end
  180. end)
  181. mouse.KeyUp:connect(function(key)
  182. if key:lower() == "w" then
  183. ctrl.f = 0
  184. elseif key:lower() == "s" then
  185. ctrl.b = 0
  186. elseif key:lower() == "a" then
  187. ctrl.l = 0
  188. elseif key:lower() == "d" then
  189. ctrl.r = 0
  190. end
  191. end)
  192. Fly()
  193. end)
  194.  
  195. Test1.Name = "Test1"
  196. Test1.Parent = main
  197. Test1.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  198. Test1.BorderSizePixel = 0
  199. Test1.Position = UDim2.new(0.159863949, 0, 0.225806445, 0)
  200. Test1.Size = UDim2.new(0, 200, 0, 50)
  201. Test1.Font = Enum.Font.Nunito
  202. Test1.Text = "Fling Push(Ragdoll Only)"
  203. Test1.TextColor3 = Color3.fromRGB(255, 255, 255)
  204. Test1.TextScaled = true
  205. Test1.TextSize = 14.000
  206. Test1.TextWrapped = true
  207. Test1.MouseButton1Down:connect(function()
  208. local down = false
  209. local loop = game:GetService('RunService')
  210. local ws = game:GetService('Workspace')
  211. local players = game:GetService('Players')
  212. local player = players.LocalPlayer
  213. local mouse = player:GetMouse()
  214.  
  215. loop.Heartbeat:Connect(function()
  216. game:GetService("ReplicatedStorage").LocalRagdollEvent:Fire(false)
  217. if player.Character:FindFirstChild("Push") then
  218. ws[player.Name].Push.Enabled = true
  219. ws[player.Name].Push.PushEvent:FireServer()
  220. end
  221. if player.Character:FindFirstChild("ImpulseGrenade") then
  222. ws[player.Name].ImpulseGrenade.Enabled = true
  223. end
  224. end)
  225.  
  226. mouse.Button1Down:connect(function()
  227. down = true
  228. mouse.Button1Up:connect(function()
  229. down = false
  230. end)
  231. while wait() do
  232. if down and
  233. player.Character:FindFirstChild("ImpulseGrenade") and
  234. player.Character:FindFirstChild("ImpulseGrenade").Enabled == true then
  235. player.Character.ImpulseGrenade:Activate()
  236. else
  237. break
  238. end
  239. end
  240. end)
  241.  
  242. print('Executed Ragdoll Engine Script! by RoGhoul')
  243. end)
  244.  
  245. clicktp.Name = "clicktp"
  246. clicktp.Parent = main
  247. clicktp.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  248. clicktp.BorderSizePixel = 0
  249. clicktp.Position = UDim2.new(0.159863949, 0, 0.360215068, 0)
  250. clicktp.Size = UDim2.new(0, 200, 0, 27)
  251. clicktp.Font = Enum.Font.Nunito
  252. clicktp.Text = "ClickTp(All Games)"
  253. clicktp.TextColor3 = Color3.fromRGB(255, 255, 255)
  254. clicktp.TextScaled = true
  255. clicktp.TextSize = 14.000
  256. clicktp.TextWrapped = true
  257. clicktp.MouseButton1Click:Connect(function()
  258. noclip = false
  259. local UIS = game:GetService("UserInputService")
  260. local Player = game.Players.LocalPlayer
  261. local Mouse = Player:GetMouse()
  262.  
  263.  
  264. function GetCharacter()
  265. return game.Players.LocalPlayer.Character
  266. end
  267.  
  268. function Teleport(pos)
  269. local Char = GetCharacter()
  270. if Char then
  271. Char:MoveTo(pos)
  272. end
  273. end
  274.  
  275.  
  276. UIS.InputBegan:Connect(function(input)
  277. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  278. Teleport(Mouse.Hit.p)
  279. end
  280. end)
  281. clicktp.Text = "Loaded!"
  282. clicktp.TextColor3 = Color3.fromRGB(0, 255, 50)
  283. wait(2)
  284. clicktp.TextColor3 = Color3.fromRGB(0, 0, 0)
  285. clicktp.Text = "Click TP"
  286. end)
  287.  
  288. Test2.Name = "Test2"
  289. Test2.Parent = main
  290. Test2.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  291. Test2.BorderSizePixel = 0
  292. Test2.Position = UDim2.new(0.159863949, 0, 0.5, 0)
  293. Test2.Size = UDim2.new(0, 200, 0, 50)
  294. Test2.Font = Enum.Font.Nunito
  295. Test2.Text = "Invisible Map(Ragdoll Only)"
  296. Test2.TextColor3 = Color3.fromRGB(255, 255, 255)
  297. Test2.TextScaled = true
  298. Test2.TextSize = 14.000
  299. Test2.TextWrapped = true
  300. Test2.MouseButton1Down:connect(function()
  301. local tool
  302. for i,v in pairs (game.Players:GetPlayers()) do
  303. tool = v.Backpack:FindFirstChild'OddPotion' or v.Character:FindFirstChild'OddPotion'
  304. if tool then break end
  305. end
  306.  
  307. for i,v in pairs(workspace.NewerMap:GetDescendants()) do
  308. tool.TransEvent:FireServer(v,1)
  309. end
  310. end)
  311.  
  312. Test3.Name = "Test3"
  313. Test3.Parent = main
  314. Test3.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  315. Test3.BorderSizePixel = 0
  316. Test3.Position = UDim2.new(0.159863949, 0, 0.766129017, 0)
  317. Test3.Size = UDim2.new(0, 200, 0, 50)
  318. Test3.Font = Enum.Font.Nunito
  319. Test3.Text = "NoClip(All Games)"
  320. Test3.TextColor3 = Color3.fromRGB(255, 255, 255)
  321. Test3.TextScaled = true
  322. Test3.TextSize = 14.000
  323. Test3.TextWrapped = true
  324. Test3.MouseButton1Down:connect(function()
  325. noclip = false
  326. game:GetService('RunService').Stepped:connect(function()
  327. if noclip then
  328. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  329. end
  330. end)
  331. plr = game.Players.LocalPlayer
  332. mouse = plr:GetMouse()
  333. mouse.KeyDown:connect(function(key)
  334.  
  335. if key == "e" then
  336. noclip = not noclip
  337. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  338. end
  339. end)
  340. print('Loaded')
  341. print('Press "E" to noclip')
  342. end)
Advertisement
Add Comment
Please, Sign In to add comment