Advertisement
Guest User

Ro Ghul

a guest
Feb 21st, 2020
74,839
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.66 KB | None | 0 0
  1. --[[
  2. Gui to Lua Converter
  3. -- Revamped by:HoIyScript
  4. --]]
  5.  
  6.  
  7.  
  8. -- Instances:
  9.  
  10. local ScreenGui = Instance.new("ScreenGui")
  11. local Frame = Instance.new("Frame")
  12. local TextButton = Instance.new("TextButton")
  13. local TextButton_2 = Instance.new("TextButton")
  14. local TextButton_3 = Instance.new("TextButton")
  15. local TextButton_4 = Instance.new("TextButton")
  16. local TextButton_5 = Instance.new("TextButton")
  17. local TextLabel = Instance.new("TextLabel")
  18. local TextButton_6 = Instance.new("TextButton")
  19. local TextLabel_2 = Instance.new("TextLabel")
  20.  
  21. --[[
  22. Properties:
  23. --]]
  24.  
  25. ScreenGui.Parent = game.CoreGui
  26. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  27.  
  28. Frame.Parent = ScreenGui
  29. Frame.BackgroundColor3 = Color3.new(0.203922, 0.145098, 0.145098)
  30. Frame.BorderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  31. Frame.BorderSizePixel = 0
  32. Frame.Position = UDim2.new(0.103912197, 0, 0.104422659, 0)
  33. Frame.Size = UDim2.new(0.0613453835, 0, 0.23710072, 0)
  34. Frame.Active = true
  35. Frame.Draggable = true
  36.  
  37. TextButton.Parent = Frame
  38. TextButton.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  39. TextButton.BorderSizePixel = 0
  40. TextButton.Position = UDim2.new(0.0804498047, 0, 0.16580309, 0)
  41. TextButton.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  42. TextButton.Font = Enum.Font.SourceSansSemibold
  43. TextButton.Text = "Ghoul"
  44. TextButton.TextColor3 = Color3.new(1, 1, 1)
  45. TextButton.TextScaled = true
  46. TextButton.TextSize = 14
  47. TextButton.TextWrapped = true
  48.  
  49. TextButton_2.Parent = Frame
  50. TextButton_2.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  51. TextButton_2.BorderSizePixel = 0
  52. TextButton_2.Position = UDim2.new(0.0804498047, 0, 0.31088081, 0)
  53. TextButton_2.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  54. TextButton_2.Font = Enum.Font.SourceSansSemibold
  55. TextButton_2.Text = "Human"
  56. TextButton_2.TextColor3 = Color3.new(1, 1, 1)
  57. TextButton_2.TextScaled = true
  58. TextButton_2.TextSize = 14
  59. TextButton_2.TextWrapped = true
  60.  
  61. TextButton_3.Parent = Frame
  62. TextButton_3.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  63. TextButton_3.BorderSizePixel = 0
  64. TextButton_3.Position = UDim2.new(0.0804498047, 0, 0.450777233, 0)
  65. TextButton_3.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  66. TextButton_3.Font = Enum.Font.SourceSansSemibold
  67. TextButton_3.Text = "CCG"
  68. TextButton_3.TextColor3 = Color3.new(1, 1, 1)
  69. TextButton_3.TextScaled = true
  70. TextButton_3.TextSize = 14
  71. TextButton_3.TextWrapped = true
  72.  
  73. TextButton_4.Parent = Frame
  74. TextButton_4.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  75. TextButton_4.BorderSizePixel = 0
  76. TextButton_4.Position = UDim2.new(0.0804498047, 0, 0.590673625, 0)
  77. TextButton_4.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  78. TextButton_4.Font = Enum.Font.SourceSansSemibold
  79. TextButton_4.Text = "SCCG"
  80. TextButton_4.TextColor3 = Color3.new(1, 1, 1)
  81. TextButton_4.TextScaled = true
  82. TextButton_4.TextSize = 14
  83. TextButton_4.TextWrapped = true
  84.  
  85. TextButton_5.Parent = Frame
  86. TextButton_5.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  87. TextButton_5.BorderSizePixel = 0
  88. TextButton_5.Position = UDim2.new(0.0804498047, 0, 0.725388646, 0)
  89. TextButton_5.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  90. TextButton_5.Font = Enum.Font.SourceSansSemibold
  91. TextButton_5.Text = "Boss"
  92. TextButton_5.TextColor3 = Color3.new(1, 1, 1)
  93. TextButton_5.TextScaled = true
  94. TextButton_5.TextSize = 14
  95. TextButton_5.TextWrapped = true
  96.  
  97. TextLabel.Parent = Frame
  98. TextLabel.BackgroundColor3 = Color3.new(0.203922, 0.145098, 0.145098)
  99. TextLabel.BorderSizePixel = 0
  100. TextLabel.Size = UDim2.new(1, 0, 0.113989636, 0)
  101. TextLabel.Font = Enum.Font.SourceSansSemibold
  102. TextLabel.Text = "Ro Ghoul"
  103. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  104. TextLabel.TextScaled = true
  105. TextLabel.TextSize = 14
  106. TextLabel.TextWrapped = true
  107.  
  108. TextButton_6.Parent = Frame
  109. TextButton_6.BackgroundColor3 = Color3.new(0.345098, 0.345098, 0.345098)
  110. TextButton_6.BorderSizePixel = 0
  111. TextButton_6.Position = UDim2.new(0.0804498047, 0, 0.865285039, 0)
  112. TextButton_6.Size = UDim2.new(0.839100361, 0, 0.0984454527, 0)
  113. TextButton_6.Font = Enum.Font.SourceSansSemibold
  114. TextButton_6.Text = "STOP"
  115. TextButton_6.TextColor3 = Color3.new(1, 0, 0)
  116. TextButton_6.TextScaled = true
  117. TextButton_6.TextSize = 14
  118. TextButton_6.TextWrapped = true
  119.  
  120. TextLabel_2.Parent = Frame
  121. TextLabel_2.BackgroundColor3 = Color3.new(1, 0, 0)
  122. TextLabel_2.BorderSizePixel = 0
  123. TextLabel_2.Position = UDim2.new(0, 0, 0.113989472, 0)
  124. TextLabel_2.Size = UDim2.new(1, 0, 0.010362695, 0)
  125. TextLabel_2.Font = Enum.Font.SourceSans
  126. TextLabel_2.Text = ""
  127. TextLabel_2.TextColor3 = Color3.new(0, 0, 0)
  128. TextLabel_2.TextSize = 14
  129.  
  130. --[[
  131. Scripts:
  132. --]]
  133.  
  134. local function ZCWB_fake_script() -- TextButton.LocalScript
  135. local script = Instance.new('LocalScript', TextButton)
  136.  
  137. script.Parent.MouseButton1Click:Connect(function()
  138. local mob = "Ghoul"
  139. local distanceFromMob = -3 -- How far you want to be behind the mob
  140. local travelSpeed = 140 -- higher = faster -- 140 won't kill you, but if you go too high you will die lol
  141.  
  142. --[[
  143. Mobs to pick from -
  144. -- Ghoul
  145. -- Human
  146. -- CCG
  147. -- SCCG
  148. -- Boss
  149. ]]--
  150.  
  151. local mobName
  152.  
  153. if mob == "Ghoul" then
  154. mobName = "GhoulSpawns"
  155. elseif mob == "Human" then
  156. mobName = "HumanSpawns"
  157. elseif mob == "CCG" then
  158. mobName = "CCGSpawns"
  159. elseif mob == "SCCG" then
  160. mobName = "AggroSpawns"
  161. elseif mob == "Boss" then
  162. mobName = "BossSpawns"
  163. else
  164. mobName = "Made by dah GoobsGoobies Big Grin"
  165. end
  166.  
  167. local tweenS = game:GetService("TweenService")
  168. local player = game.Players.LocalPlayer
  169. local playerHRP = player.Character:WaitForChild("HumanoidRootPart")
  170. local playerHumanoid = player.Character:WaitForChild("Humanoid")
  171.  
  172. function farm()
  173. while true do
  174. if playerHumanoid.Health ~= 0 then
  175. for i,v in pairs(workspace.NPCSpawns:GetChildren()) do
  176. if v:FindFirstChildWhichIsA("Model") and v.Name == mobName and not v:FindFirstChild("Athlete") then
  177. while true do
  178. if v:FindFirstChildWhichIsA("Model") then
  179. local parent = v:FindFirstChildWhichIsA("Model")
  180. if parent:FindFirstChild("Humanoid") then
  181. if parent.Humanoid.Health ~= 0 then
  182. local distance = (playerHRP.Position - parent.HumanoidRootPart.Position).magnitude
  183. local tweenInfo = TweenInfo.new(distance/travelSpeed)
  184. local tweenGoal = {}
  185. tweenGoal.CFrame = parent.HumanoidRootPart.CFrame + parent.HumanoidRootPart.CFrame.LookVector * distanceFromMob
  186. local playTween = tweenS:Create(playerHRP,tweenInfo,tweenGoal)
  187. if distance <= 10 then
  188. local parentHRP = parent:WaitForChild("HumanoidRootPart")
  189. if mob == "Human" then
  190. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  191. wait()
  192. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * ((distanceFromMob * -1) + 2)
  193. playerHRP.CFrame = CFrame.new(playerHRP.Position,parentHRP.Position)
  194. else
  195. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  196. end
  197. else
  198. playTween:Play()
  199. end
  200. wait()
  201. elseif parent.Humanoid.Health == 0 then
  202. wait(2)
  203. break
  204. end
  205. elseif not parent:FindFirstChild("Humanoid") then
  206. wait(2)
  207. break
  208. end
  209.  
  210. elseif not v:FindFirstChildWhichIsA("Model") or v:FindFirstChildWhichIsA("Model").Humanoid.Health == 0 then
  211. wait(2)
  212. break
  213. end
  214. end
  215. end
  216. end
  217. elseif player.Character.Humanoid.Health == 0 then
  218. wait(2)
  219. break
  220. end
  221. wait()
  222. end
  223. end
  224.  
  225. farm()
  226. end)
  227. end
  228. coroutine.wrap(ZCWB_fake_script)()
  229. local function JIGTNFS_fake_script() -- TextButton_2.LocalScript
  230. local script = Instance.new('LocalScript', TextButton_2)
  231.  
  232. script.Parent.MouseButton1Click:Connect(function()
  233. local mob = "Human"
  234. local distanceFromMob = -3 -- How far you want to be behind the mob
  235. local travelSpeed = 140 -- higher = faster -- 140 won't kill you, but if you go too high you will die lol
  236.  
  237. --[[
  238. Mobs to pick from -
  239. -- Ghoul
  240. -- Human
  241. -- CCG
  242. -- SCCG
  243. -- Boss
  244. ]]--
  245.  
  246. local mobName
  247.  
  248. if mob == "Ghoul" then
  249. mobName = "GhoulSpawns"
  250. elseif mob == "Human" then
  251. mobName = "HumanSpawns"
  252. elseif mob == "CCG" then
  253. mobName = "CCGSpawns"
  254. elseif mob == "SCCG" then
  255. mobName = "AggroSpawns"
  256. elseif mob == "Boss" then
  257. mobName = "BossSpawns"
  258. else
  259. mobName = "Made by dah GoobsGoobies Big Grin"
  260. end
  261.  
  262. local tweenS = game:GetService("TweenService")
  263. local player = game.Players.LocalPlayer
  264. local playerHRP = player.Character:WaitForChild("HumanoidRootPart")
  265. local playerHumanoid = player.Character:WaitForChild("Humanoid")
  266.  
  267. function farm()
  268. while true do
  269. if playerHumanoid.Health ~= 0 then
  270. for i,v in pairs(workspace.NPCSpawns:GetChildren()) do
  271. if v:FindFirstChildWhichIsA("Model") and v.Name == mobName and not v:FindFirstChild("Athlete") then
  272. while true do
  273. if v:FindFirstChildWhichIsA("Model") then
  274. local parent = v:FindFirstChildWhichIsA("Model")
  275. if parent:FindFirstChild("Humanoid") then
  276. if parent.Humanoid.Health ~= 0 then
  277. local distance = (playerHRP.Position - parent.HumanoidRootPart.Position).magnitude
  278. local tweenInfo = TweenInfo.new(distance/travelSpeed)
  279. local tweenGoal = {}
  280. tweenGoal.CFrame = parent.HumanoidRootPart.CFrame + parent.HumanoidRootPart.CFrame.LookVector * distanceFromMob
  281. local playTween = tweenS:Create(playerHRP,tweenInfo,tweenGoal)
  282. if distance <= 10 then
  283. local parentHRP = parent:WaitForChild("HumanoidRootPart")
  284. if mob == "Human" then
  285. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  286. wait()
  287. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * ((distanceFromMob * -1) + 2)
  288. playerHRP.CFrame = CFrame.new(playerHRP.Position,parentHRP.Position)
  289. else
  290. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  291. end
  292. else
  293. playTween:Play()
  294. end
  295. wait()
  296. elseif parent.Humanoid.Health == 0 then
  297. wait(2)
  298. break
  299. end
  300. elseif not parent:FindFirstChild("Humanoid") then
  301. wait(2)
  302. break
  303. end
  304.  
  305. elseif not v:FindFirstChildWhichIsA("Model") or v:FindFirstChildWhichIsA("Model").Humanoid.Health == 0 then
  306. wait(2)
  307. break
  308. end
  309. end
  310. end
  311. end
  312. elseif player.Character.Humanoid.Health == 0 then
  313. wait(2)
  314. break
  315. end
  316. wait()
  317. end
  318. end
  319.  
  320. farm()
  321. end)
  322. end
  323. coroutine.wrap(JIGTNFS_fake_script)()
  324. local function SMNVS_fake_script() -- TextButton_3.LocalScript
  325. local script = Instance.new('LocalScript', TextButton_3)
  326.  
  327. script.Parent.MouseButton1Click:Connect(function()
  328. local mob = "CCG"
  329. local distanceFromMob = -3 -- How far you want to be behind the mob
  330. local travelSpeed = 140 -- higher = faster -- 140 won't kill you, but if you go too high you will die lol
  331.  
  332. --[[
  333. Mobs to pick from -
  334. -- Ghoul
  335. -- Human
  336. -- CCG
  337. -- SCCG
  338. -- Boss
  339. ]]--
  340.  
  341. local mobName
  342.  
  343. if mob == "Ghoul" then
  344. mobName = "GhoulSpawns"
  345. elseif mob == "Human" then
  346. mobName = "HumanSpawns"
  347. elseif mob == "CCG" then
  348. mobName = "CCGSpawns"
  349. elseif mob == "SCCG" then
  350. mobName = "AggroSpawns"
  351. elseif mob == "Boss" then
  352. mobName = "BossSpawns"
  353. else
  354. mobName = "Made by dah GoobsGoobies Big Grin"
  355. end
  356.  
  357. local tweenS = game:GetService("TweenService")
  358. local player = game.Players.LocalPlayer
  359. local playerHRP = player.Character:WaitForChild("HumanoidRootPart")
  360. local playerHumanoid = player.Character:WaitForChild("Humanoid")
  361.  
  362. function farm()
  363. while true do
  364. if playerHumanoid.Health ~= 0 then
  365. for i,v in pairs(workspace.NPCSpawns:GetChildren()) do
  366. if v:FindFirstChildWhichIsA("Model") and v.Name == mobName and not v:FindFirstChild("Athlete") then
  367. while true do
  368. if v:FindFirstChildWhichIsA("Model") then
  369. local parent = v:FindFirstChildWhichIsA("Model")
  370. if parent:FindFirstChild("Humanoid") then
  371. if parent.Humanoid.Health ~= 0 then
  372. local distance = (playerHRP.Position - parent.HumanoidRootPart.Position).magnitude
  373. local tweenInfo = TweenInfo.new(distance/travelSpeed)
  374. local tweenGoal = {}
  375. tweenGoal.CFrame = parent.HumanoidRootPart.CFrame + parent.HumanoidRootPart.CFrame.LookVector * distanceFromMob
  376. local playTween = tweenS:Create(playerHRP,tweenInfo,tweenGoal)
  377. if distance <= 10 then
  378. local parentHRP = parent:WaitForChild("HumanoidRootPart")
  379. if mob == "Human" then
  380. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  381. wait()
  382. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * ((distanceFromMob * -1) + 2)
  383. playerHRP.CFrame = CFrame.new(playerHRP.Position,parentHRP.Position)
  384. else
  385. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  386. end
  387. else
  388. playTween:Play()
  389. end
  390. wait()
  391. elseif parent.Humanoid.Health == 0 then
  392. wait(2)
  393. break
  394. end
  395. elseif not parent:FindFirstChild("Humanoid") then
  396. wait(2)
  397. break
  398. end
  399.  
  400. elseif not v:FindFirstChildWhichIsA("Model") or v:FindFirstChildWhichIsA("Model").Humanoid.Health == 0 then
  401. wait(2)
  402. break
  403. end
  404. end
  405. end
  406. end
  407. elseif player.Character.Humanoid.Health == 0 then
  408. wait(2)
  409. break
  410. end
  411. wait()
  412. end
  413. end
  414.  
  415. farm()
  416. end)
  417. end
  418. coroutine.wrap(SMNVS_fake_script)()
  419. local function LSXJJCB_fake_script() -- TextButton_4.LocalScript
  420. local script = Instance.new('LocalScript', TextButton_4)
  421.  
  422. script.Parent.MouseButton1Click:Connect(function()
  423. local mob = "SCCG"
  424. local distanceFromMob = -3 -- How far you want to be behind the mob
  425. local travelSpeed = 140 -- higher = faster -- 140 won't kill you, but if you go too high you will die lol
  426.  
  427. --[[
  428. Mobs to pick from -
  429. -- Ghoul
  430. -- Human
  431. -- CCG
  432. -- SCCG
  433. -- Boss
  434. ]]--
  435.  
  436. local mobName
  437.  
  438. if mob == "Ghoul" then
  439. mobName = "GhoulSpawns"
  440. elseif mob == "Human" then
  441. mobName = "HumanSpawns"
  442. elseif mob == "CCG" then
  443. mobName = "CCGSpawns"
  444. elseif mob == "SCCG" then
  445. mobName = "AggroSpawns"
  446. elseif mob == "Boss" then
  447. mobName = "BossSpawns"
  448. else
  449. mobName = "Made by dah GoobsGoobies Big Grin"
  450. end
  451.  
  452. local tweenS = game:GetService("TweenService")
  453. local player = game.Players.LocalPlayer
  454. local playerHRP = player.Character:WaitForChild("HumanoidRootPart")
  455. local playerHumanoid = player.Character:WaitForChild("Humanoid")
  456.  
  457. function farm()
  458. while true do
  459. if playerHumanoid.Health ~= 0 then
  460. for i,v in pairs(workspace.NPCSpawns:GetChildren()) do
  461. if v:FindFirstChildWhichIsA("Model") and v.Name == mobName and not v:FindFirstChild("Athlete") then
  462. while true do
  463. if v:FindFirstChildWhichIsA("Model") then
  464. local parent = v:FindFirstChildWhichIsA("Model")
  465. if parent:FindFirstChild("Humanoid") then
  466. if parent.Humanoid.Health ~= 0 then
  467. local distance = (playerHRP.Position - parent.HumanoidRootPart.Position).magnitude
  468. local tweenInfo = TweenInfo.new(distance/travelSpeed)
  469. local tweenGoal = {}
  470. tweenGoal.CFrame = parent.HumanoidRootPart.CFrame + parent.HumanoidRootPart.CFrame.LookVector * distanceFromMob
  471. local playTween = tweenS:Create(playerHRP,tweenInfo,tweenGoal)
  472. if distance <= 10 then
  473. local parentHRP = parent:WaitForChild("HumanoidRootPart")
  474. if mob == "Human" then
  475. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  476. wait()
  477. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * ((distanceFromMob * -1) + 2)
  478. playerHRP.CFrame = CFrame.new(playerHRP.Position,parentHRP.Position)
  479. else
  480. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  481. end
  482. else
  483. playTween:Play()
  484. end
  485. wait()
  486. elseif parent.Humanoid.Health == 0 then
  487. wait(2)
  488. break
  489. end
  490. elseif not parent:FindFirstChild("Humanoid") then
  491. wait(2)
  492. break
  493. end
  494.  
  495. elseif not v:FindFirstChildWhichIsA("Model") or v:FindFirstChildWhichIsA("Model").Humanoid.Health == 0 then
  496. wait(2)
  497. break
  498. end
  499. end
  500. end
  501. end
  502. elseif player.Character.Humanoid.Health == 0 then
  503. wait(2)
  504. break
  505. end
  506. wait()
  507. end
  508. end
  509.  
  510. farm()
  511. end)
  512. end
  513. coroutine.wrap(LSXJJCB_fake_script)()
  514. local function NCRI_fake_script() -- TextButton_5.LocalScript
  515. local script = Instance.new('LocalScript', TextButton_5)
  516.  
  517. script.Parent.MouseButton1Click:Connect(function()
  518. local mob = "Boss"
  519. local distanceFromMob = -3 -- How far you want to be behind the mob
  520. local travelSpeed = 140 -- higher = faster -- 140 won't kill you, but if you go too high you will die lol
  521.  
  522. --[[
  523. Mobs to pick from -
  524. -- Ghoul
  525. -- Human
  526. -- CCG
  527. -- SCCG
  528. -- Boss
  529. ]]--
  530.  
  531. local mobName
  532.  
  533. if mob == "Ghoul" then
  534. mobName = "GhoulSpawns"
  535. elseif mob == "Human" then
  536. mobName = "HumanSpawns"
  537. elseif mob == "CCG" then
  538. mobName = "CCGSpawns"
  539. elseif mob == "SCCG" then
  540. mobName = "AggroSpawns"
  541. elseif mob == "Boss" then
  542. mobName = "BossSpawns"
  543. else
  544. mobName = "Made by dah GoobsGoobies Big Grin"
  545. end
  546.  
  547. local tweenS = game:GetService("TweenService")
  548. local player = game.Players.LocalPlayer
  549. local playerHRP = player.Character:WaitForChild("HumanoidRootPart")
  550. local playerHumanoid = player.Character:WaitForChild("Humanoid")
  551.  
  552. function farm()
  553. while true do
  554. if playerHumanoid.Health ~= 0 then
  555. for i,v in pairs(workspace.NPCSpawns:GetChildren()) do
  556. if v:FindFirstChildWhichIsA("Model") and v.Name == mobName and not v:FindFirstChild("Athlete") then
  557. while true do
  558. if v:FindFirstChildWhichIsA("Model") then
  559. local parent = v:FindFirstChildWhichIsA("Model")
  560. if parent:FindFirstChild("Humanoid") then
  561. if parent.Humanoid.Health ~= 0 then
  562. local distance = (playerHRP.Position - parent.HumanoidRootPart.Position).magnitude
  563. local tweenInfo = TweenInfo.new(distance/travelSpeed)
  564. local tweenGoal = {}
  565. tweenGoal.CFrame = parent.HumanoidRootPart.CFrame + parent.HumanoidRootPart.CFrame.LookVector * distanceFromMob
  566. local playTween = tweenS:Create(playerHRP,tweenInfo,tweenGoal)
  567. if distance <= 10 then
  568. local parentHRP = parent:WaitForChild("HumanoidRootPart")
  569. if mob == "Human" then
  570. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  571. wait()
  572. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * ((distanceFromMob * -1) + 2)
  573. playerHRP.CFrame = CFrame.new(playerHRP.Position,parentHRP.Position)
  574. else
  575. playerHRP.CFrame = parentHRP.CFrame + parentHRP.CFrame.LookVector * distanceFromMob
  576. end
  577. else
  578. playTween:Play()
  579. end
  580. wait()
  581. elseif parent.Humanoid.Health == 0 then
  582. wait(2)
  583. break
  584. end
  585. elseif not parent:FindFirstChild("Humanoid") then
  586. wait(2)
  587. break
  588. end
  589.  
  590. elseif not v:FindFirstChildWhichIsA("Model") or v:FindFirstChildWhichIsA("Model").Humanoid.Health == 0 then
  591. wait(2)
  592. break
  593. end
  594. end
  595. end
  596. end
  597. elseif player.Character.Humanoid.Health == 0 then
  598. wait(2)
  599. break
  600. end
  601. wait()
  602. end
  603. end
  604.  
  605. farm()
  606. end)
  607. end
  608. coroutine.wrap(NCRI_fake_script)()
  609. local function EHVD_fake_script() -- TextButton_6.LocalScript
  610. local script = Instance.new('LocalScript', TextButton_6)
  611.  
  612. script.Parent.MouseButton1Click:Connect(function()
  613. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  614. end)
  615. end
  616. coroutine.wrap(EHVD_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement