RoGhoulXD

[Fixed+] Ro Ghoul Script

Jan 30th, 2021
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.65 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.  
  98. end)
  99.  
  100. Test1.Name = "Test1"
  101. Test1.Parent = main
  102. Test1.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  103. Test1.BorderSizePixel = 0
  104. Test1.Position = UDim2.new(0.159863949, 0, 0.225806445, 0)
  105. Test1.Size = UDim2.new(0, 200, 0, 50)
  106. Test1.Font = Enum.Font.Nunito
  107. Test1.Text = "Fling Push"
  108. Test1.TextColor3 = Color3.fromRGB(255, 255, 255)
  109. Test1.TextScaled = true
  110. Test1.TextSize = 14.000
  111. Test1.TextWrapped = true
  112. Test1.MouseButton1Down:connect(function()
  113. local down = false
  114. local loop = game:GetService('RunService')
  115. local ws = game:GetService('Workspace')
  116. local players = game:GetService('Players')
  117. local player = players.LocalPlayer
  118. local mouse = player:GetMouse()
  119.  
  120. loop.Heartbeat:Connect(function()
  121. game:GetService("ReplicatedStorage").LocalRagdollEvent:Fire(false)
  122. if player.Character:FindFirstChild("Push") then
  123. ws[player.Name].Push.Enabled = true
  124. ws[player.Name].Push.PushEvent:FireServer()
  125. end
  126. if player.Character:FindFirstChild("ImpulseGrenade") then
  127. ws[player.Name].ImpulseGrenade.Enabled = true
  128. end
  129. end)
  130.  
  131. mouse.Button1Down:connect(function()
  132. down = true
  133. mouse.Button1Up:connect(function()
  134. down = false
  135. end)
  136. while wait() do
  137. if down and
  138. player.Character:FindFirstChild("ImpulseGrenade") and
  139. player.Character:FindFirstChild("ImpulseGrenade").Enabled == true then
  140. player.Character.ImpulseGrenade:Activate()
  141. else
  142. break
  143. end
  144. end
  145. end)
  146.  
  147. print('Executed Ragdoll Engine Script! by RoGhoul')
  148. end)
  149.  
  150. fly.Name = "fly"
  151. fly.Parent = main
  152. fly.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
  153. fly.BorderSizePixel = 0
  154. fly.Position = UDim2.new(0.159863949, 0, 0.432795703, 0)
  155. fly.Size = UDim2.new(0, 200, 0, 26)
  156. fly.Font = Enum.Font.SourceSans
  157. fly.Text = "Fly"
  158. fly.TextColor3 = Color3.fromRGB(255, 255, 255)
  159. fly.TextScaled = true
  160. fly.TextSize = 14.000
  161. fly.TextWrapped = true
  162. fly.MouseButton1Down:connect(function()
  163. repeat wait()
  164. until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  165. local mouse = game.Players.LocalPlayer:GetMouse()
  166. repeat wait() until mouse
  167. local plr = game.Players.LocalPlayer
  168. local torso = plr.Character.Head
  169. local flying = false
  170. local deb = true
  171. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  172. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  173. local maxspeed = 400
  174. local speed = 5000
  175.  
  176. function Fly()
  177. local bg = Instance.new("BodyGyro", torso)
  178. bg.P = 9e4
  179. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  180. bg.cframe = torso.CFrame
  181. local bv = Instance.new("BodyVelocity", torso)
  182. bv.velocity = Vector3.new(0,0.1,0)
  183. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  184. repeat wait()
  185. plr.Character.Humanoid.PlatformStand = true
  186. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  187. speed = speed+.5+(speed/maxspeed)
  188. if speed > maxspeed then
  189. speed = maxspeed
  190. end
  191. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  192. speed = speed-1
  193. if speed < 0 then
  194. speed = 0
  195. end
  196. end
  197. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  198. 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
  199. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  200. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  201. 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
  202. else
  203. bv.velocity = Vector3.new(0,0.1,0)
  204. end
  205. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  206. until not flying
  207. ctrl = {f = 0, b = 0, l = 0, r = 0}
  208. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  209. speed = 0
  210. bg:Destroy()
  211. bv:Destroy()
  212. plr.Character.Humanoid.PlatformStand = false
  213. end
  214. mouse.KeyDown:connect(function(key)
  215. if key:lower() == "f" then
  216. if flying then flying = false
  217. else
  218. flying = true
  219. Fly()
  220. end
  221. elseif key:lower() == "w" then
  222. ctrl.f = 1
  223. elseif key:lower() == "s" then
  224. ctrl.b = -1
  225. elseif key:lower() == "a" then
  226. ctrl.l = -1
  227. elseif key:lower() == "d" then
  228. ctrl.r = 1
  229. end
  230. end)
  231. mouse.KeyUp:connect(function(key)
  232. if key:lower() == "w" then
  233. ctrl.f = 0
  234. elseif key:lower() == "s" then
  235. ctrl.b = 0
  236. elseif key:lower() == "a" then
  237. ctrl.l = 0
  238. elseif key:lower() == "d" then
  239. ctrl.r = 0
  240. end
  241. end)
  242. Fly()
  243. fly.Text = "Loaded!"
  244. fly.TextColor3 = Color3.fromRGB(0, 255, 50)
  245. wait(2)
  246. fly.TextColor3 = Color3.fromRGB(0, 0, 0)
  247. fly.Text = "Fly"
  248. end)
  249.  
  250. clicktp.Name = "clicktp"
  251. clicktp.Parent = main
  252. clicktp.BackgroundColor3 = Color3.fromRGB(255, 0, 255)
  253. clicktp.BorderSizePixel = 0
  254. clicktp.Position = UDim2.new(0.159863949, 0, 0.360215068, 0)
  255. clicktp.Size = UDim2.new(0, 200, 0, 27)
  256. clicktp.Font = Enum.Font.Nunito
  257. clicktp.Text = "ClickTp"
  258. clicktp.TextColor3 = Color3.fromRGB(255, 255, 255)
  259. clicktp.TextScaled = true
  260. clicktp.TextSize = 14.000
  261. clicktp.TextWrapped = true
  262. clicktp.MouseButton1Click:Connect(function()
  263. noclip = false
  264. local UIS = game:GetService("UserInputService")
  265. local Player = game.Players.LocalPlayer
  266. local Mouse = Player:GetMouse()
  267.  
  268.  
  269. function GetCharacter()
  270. return game.Players.LocalPlayer.Character
  271. end
  272.  
  273. function Teleport(pos)
  274. local Char = GetCharacter()
  275. if Char then
  276. Char:MoveTo(pos)
  277. end
  278. end
  279.  
  280.  
  281. UIS.InputBegan:Connect(function(input)
  282. if input.UserInputType == Enum.UserInputType.MouseButton1 and UIS:IsKeyDown(Enum.KeyCode.LeftControl) then
  283. Teleport(Mouse.Hit.p)
  284. end
  285. end)
  286. clicktp.Text = "Loaded!"
  287. clicktp.TextColor3 = Color3.fromRGB(0, 255, 50)
  288. wait(2)
  289. clicktp.TextColor3 = Color3.fromRGB(0, 0, 0)
  290. clicktp.Text = "Click TP"
  291. end)
  292.  
  293. Test2.Name = "Test2"
  294. Test2.Parent = main
  295. Test2.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  296. Test2.BorderSizePixel = 0
  297. Test2.Position = UDim2.new(0.159863949, 0, 0.5, 0)
  298. Test2.Size = UDim2.new(0, 200, 0, 50)
  299. Test2.Font = Enum.Font.Nunito
  300. Test2.Text = "Invisible Map"
  301. Test2.TextColor3 = Color3.fromRGB(255, 255, 255)
  302. Test2.TextScaled = true
  303. Test2.TextSize = 14.000
  304. Test2.TextWrapped = true
  305. Test2.MouseButton1Down:connect(function()
  306. local tool
  307. for i,v in pairs (game.Players:GetPlayers()) do
  308. tool = v.Backpack:FindFirstChild'OddPotion' or v.Character:FindFirstChild'OddPotion'
  309. if tool then break end
  310. end
  311.  
  312. for i,v in pairs(workspace.NewerMap:GetDescendants()) do
  313. tool.TransEvent:FireServer(v,1)
  314. end
  315. end)
  316.  
  317. Test3.Name = "Test3"
  318. Test3.Parent = main
  319. Test3.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  320. Test3.BorderSizePixel = 0
  321. Test3.Position = UDim2.new(0.159863949, 0, 0.766129017, 0)
  322. Test3.Size = UDim2.new(0, 200, 0, 50)
  323. Test3.Font = Enum.Font.Nunito
  324. Test3.Text = "NoClip"
  325. Test3.TextColor3 = Color3.fromRGB(255, 255, 255)
  326. Test3.TextScaled = true
  327. Test3.TextSize = 14.000
  328. Test3.TextWrapped = true
  329. Test3.MouseButton1Down:connect(function()
  330. noclip = false
  331. game:GetService('RunService').Stepped:connect(function()
  332. if noclip then
  333. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  334. end
  335. end)
  336. plr = game.Players.LocalPlayer
  337. mouse = plr:GetMouse()
  338. mouse.KeyDown:connect(function(key)
  339.  
  340. if key == "e" then
  341. noclip = not noclip
  342. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  343. end
  344. end)
  345. print('Loaded')
  346. print('Press "E" to noclip')
  347. end)
Advertisement
Add Comment
Please, Sign In to add comment