HackerTA

A Wolf Or Other Script

Jul 7th, 2020
501
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.21 KB | None | 0 0
  1. --MADE BY "fireztron" @ V3RMILLION
  2. --Credit to TrustedCardinal @ v3rmillion for the draggable UI feature)
  3.  
  4. --default values--
  5. local walkspeed = 14
  6. local jumppower = 20
  7. local targetPlayer = "Anoffdutyninja" -- for streamsniping maybe
  8. ------------------
  9.  
  10. --don't change these vars okay
  11. local RepStorage = game:GetService('ReplicatedStorage')
  12. local Plrs = game:GetService('Players')
  13. local LP = Plrs.LocalPlayer
  14. local LPchar = LP.Character
  15. spawn(function()
  16. LPchar = LP.CharacterAdded:Wait()
  17. print('LPchar finally defined!')
  18. end)
  19.  
  20. local WolvesFolder = RepStorage.Wolves
  21. local HuntersFolder = RepStorage.Hunters
  22. local WolfPlayer
  23. local HunterPlayer
  24.  
  25. --gui
  26. local ScreenGui = Instance.new("ScreenGui")
  27. local Frame = Instance.new("Frame")
  28. local WalkSpeedBox = Instance.new("TextBox")
  29. local KillAllButton = Instance.new("TextButton")
  30. local TextLabel = Instance.new("TextLabel")
  31. local Credits = Instance.new("TextLabel")
  32. local NoClipButton = Instance.new("TextButton")
  33. local JumpPowerBox = Instance.new("TextBox")
  34.  
  35. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  36. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  37. ScreenGui.Name = 'Wolf GUI Fucker'
  38.  
  39. Frame.Parent = ScreenGui
  40. Frame.BackgroundColor3 = Color3.new(0.333333, 0.878431, 1)
  41. Frame.Position = UDim2.new(0.758273363, 0, 0.450980425, 0)
  42. Frame.Size = UDim2.new(0.200000003, 0, 0.5, 0)
  43.  
  44. WalkSpeedBox.Parent = Frame
  45. WalkSpeedBox.AnchorPoint = Vector2.new(0.5, 0.5)
  46. WalkSpeedBox.BackgroundColor3 = Color3.new(0.729412, 0, 0)
  47. WalkSpeedBox.Position = UDim2.new(0.5, 0, 0.449999988, 0)
  48. WalkSpeedBox.Size = UDim2.new(0.800000012, 0, 0.200000003, 0)
  49. WalkSpeedBox.ZIndex = 3
  50. WalkSpeedBox.Font = Enum.Font.ArialBold
  51. WalkSpeedBox.PlaceholderColor3 = Color3.new(0.929412, 1, 0.12549)
  52. WalkSpeedBox.PlaceholderText = "Set WalkSpeed (" .. tostring(walkspeed) .. ")"
  53. WalkSpeedBox.Text = ""
  54. WalkSpeedBox.TextColor3 = Color3.new(0.929412, 1, 0.12549)
  55. WalkSpeedBox.TextSize = 17
  56. WalkSpeedBox.TextWrapped = true
  57.  
  58. KillAllButton.Parent = Frame
  59. KillAllButton.AnchorPoint = Vector2.new(0.5, 0.5)
  60. KillAllButton.BackgroundColor3 = Color3.new(0.729412, 0, 0)
  61. KillAllButton.Position = UDim2.new(0.5, 0, 0.889999986, 0)
  62. KillAllButton.Size = UDim2.new(0.800000012, 0, 0.200000003, 0)
  63. KillAllButton.Font = Enum.Font.ArialBold
  64. KillAllButton.Text = "Kill All (Werewolf)"
  65. KillAllButton.TextColor3 = Color3.new(0.929412, 1, 0.12549)
  66. KillAllButton.TextSize = 17
  67.  
  68. TextLabel.Parent = Frame
  69. TextLabel.BackgroundColor3 = Color3.new(0.411765, 1, 0.647059)
  70. TextLabel.Size = UDim2.new(1, 0, .08, 0)
  71. TextLabel.Font = Enum.Font.SourceSans
  72. TextLabel.Text = "WOLF OR OTHER GUI (\"Y\" to close/open)"
  73. TextLabel.TextColor3 = Color3.new(0, 0, 0)
  74. TextLabel.TextSize = 27
  75. TextLabel.Draggable = true
  76.  
  77. Credits.Parent = Frame
  78. Credits.AnchorPoint = Vector2.new(0.5, 0.5)
  79. Credits.BackgroundColor3 = Color3.new(0.411765, 1, 0.647059)
  80. Credits.Size = UDim2.new(1, 0, .05, 0)
  81. Credits.Position = UDim2.new(.5, 0, .1, 0)
  82. Credits.Font = Enum.Font.SourceSans
  83. Credits.Text = "Made by fireztron @v3rmillion"
  84. Credits.TextColor3 = Color3.new(0, 0, 0)
  85. Credits.TextSize = 15
  86.  
  87. NoClipButton.Parent = Frame
  88. NoClipButton.AnchorPoint = Vector2.new(0.5, 0.5)
  89. NoClipButton.BackgroundColor3 = Color3.new(0.729412, 0, 0)
  90. NoClipButton.Position = UDim2.new(0.5, 0, 0.670000017, 0)
  91. NoClipButton.Size = UDim2.new(0.800000012, 0, 0.200000003, 0)
  92. NoClipButton.Font = Enum.Font.ArialBold
  93. NoClipButton.Text = "No Clip (OFF) | (F)"
  94. NoClipButton.TextColor3 = Color3.new(0.929412, 1, 0.12549)
  95. NoClipButton.TextSize = 17
  96.  
  97. JumpPowerBox.Parent = Frame
  98. JumpPowerBox.AnchorPoint = Vector2.new(0.5, 0.5)
  99. JumpPowerBox.BackgroundColor3 = Color3.new(0.729412, 0, 0)
  100. JumpPowerBox.Position = UDim2.new(0.5, 0, 0.230000004, 0)
  101. JumpPowerBox.Size = UDim2.new(0.800000012, 0, 0.200000003, 0)
  102. JumpPowerBox.ZIndex = 3
  103. JumpPowerBox.Font = Enum.Font.ArialBold
  104. JumpPowerBox.PlaceholderColor3 = Color3.new(0.929412, 1, 0.12549)
  105. JumpPowerBox.PlaceholderText = "Set JumpPower (" .. tostring(jumppower) .. ")"
  106. JumpPowerBox.Text = ""
  107. JumpPowerBox.TextColor3 = Color3.new(0.929412, 1, 0.12549)
  108. JumpPowerBox.TextSize = 17
  109. JumpPowerBox.TextWrapped = true
  110.  
  111. --actual scripts
  112.  
  113.  
  114.  
  115. local function ChangeLPCharWalkSpeed(char)
  116. local character = char or LP.Character
  117. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  118. if character ~= nil then
  119. character:WaitForChild('Humanoid').WalkSpeed = walkspeed
  120. end
  121. end
  122.  
  123. local function humWalkSpeedChanged(char)
  124. local character = char or LP.Character
  125. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  126. if character ~= nil then
  127. character:WaitForChild('Humanoid'):GetPropertyChangedSignal('WalkSpeed'):Connect(function()
  128. ChangeLPCharWalkSpeed(character)
  129. end)
  130. end
  131. end
  132.  
  133. local function ChangeLPCharJumpPower(char)
  134. local character = char or LP.Character
  135. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  136. if character ~= nil then
  137. character:WaitForChild('Humanoid').JumpPower = jumppower
  138. end
  139. end
  140.  
  141. local function humJumpPowerChanged(char)
  142. local character = char or LP.Character
  143. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  144. if character ~= nil then
  145. character:WaitForChild('Humanoid'):GetPropertyChangedSignal('JumpPower'):Connect(function()
  146. ChangeLPCharJumpPower(character)
  147. end)
  148. end
  149. end
  150.  
  151. local function onWalkSpeedTextChanged(enterPressed, inputThatCausedFocusLost)
  152. if enterPressed then
  153. if tonumber(WalkSpeedBox.Text) then
  154. walkspeed = tonumber(WalkSpeedBox.Text)
  155. print("Walk Speed now " .. walkspeed)
  156. ChangeLPCharWalkSpeed()
  157. WalkSpeedBox.PlaceholderText = "Set WalkSpeed (" .. tostring(walkspeed) .. ")"
  158. end
  159. WalkSpeedBox.Text = ""
  160. end
  161. end
  162.  
  163. local function onJumpPowerTextChanged(enterPressed, inputThatCausedFocusLost)
  164. if enterPressed then
  165. if tonumber(JumpPowerBox.Text) then
  166. jumppower = tonumber(JumpPowerBox.Text)
  167. print("Jump Power now " .. jumppower)
  168. ChangeLPCharJumpPower()
  169. JumpPowerBox.PlaceholderText = "Set JumpPower (" .. tostring(jumppower) .. ")"
  170. end
  171. JumpPowerBox.Text = ""
  172. end
  173. end
  174.  
  175. local function findPlayer(name)
  176. for _,player in pairs(Plrs:GetChildren()) do
  177. if player.Name == name then
  178. print("player found! " .. player.Name)
  179. return player
  180. end
  181. end
  182. print("Problem. findPlayer(".. name .. ")")
  183. return nil
  184. end
  185.  
  186. local function createESP(head,text)
  187. local billgui = Instance.new('BillboardGui', head)
  188. local textlab = Instance.new('TextLabel', billgui)
  189.  
  190. billgui.Name = "ESP"
  191. billgui.AlwaysOnTop = true
  192. billgui.ExtentsOffset = Vector3.new(0, 3, 0)
  193. billgui.Size = UDim2.new(0, 5, 0, 5)
  194.  
  195. textlab.Name = 'Player'
  196. textlab.BackgroundColor3 = Color3.new(255, 255, 255)
  197. textlab.BackgroundTransparency = 1
  198. textlab.BorderSizePixel = 0
  199. textlab.Position = UDim2.new(0, 0, 0, -20)
  200. textlab.Size = UDim2.new(1, 0, 10, 0)
  201. textlab.Visible = true
  202. textlab.ZIndex = 10
  203. textlab.Font = 'SciFi'
  204. textlab.FontSize = 'Size14'
  205. textlab.Text = text
  206. textlab.TextTransparency = 0
  207. textlab.TextStrokeTransparency = 1
  208. textlab.TextColor3 = Color3.new(1,0,0)
  209. end
  210.  
  211. local function findHeadFromPlayer(plr) --returns nil if not found
  212. if plr:IsA('Player') then
  213. local character = plr.Character
  214. if not character or not character.Parent then
  215. character = plr.CharacterAdded:Wait()
  216. print('character now defined as', character)
  217. end
  218. local head = character:WaitForChild('Head')
  219. print("head found! head: " .. head:GetFullName())
  220. return head
  221. end
  222. end
  223.  
  224. local function onWolfAdded(child)
  225. print("child " .. child.Name .. " added into wolvesfolder!")
  226. WolfPlayer = findPlayer(child.Name)
  227. local playerHead = findHeadFromPlayer(WolfPlayer)
  228. createESP(playerHead, "WOLF")
  229. end
  230.  
  231. local function onHunterAdded(child)
  232. print("child " .. child.Name .. " added into huntersfolder!")
  233. HunterPlayer = findPlayer(child.Name)
  234. local playerHead = findHeadFromPlayer(HunterPlayer)
  235. createESP(playerHead, "HUNTER")
  236. end
  237.  
  238. local function FindWolf()
  239. for _,child in pairs(WolvesFolder:GetChildren()) do
  240. print('Found wolfs name using FindWolf() | ' .. child.Name)
  241. return child.Name
  242. end
  243. end
  244.  
  245. local function FindHunter()
  246. for _,child in pairs(HuntersFolder:GetChildren()) do
  247. print('Found hunters name using FindWolf() | ' .. child.Name)
  248. return child.Name
  249. end
  250. end
  251.  
  252. local function espWOLF()
  253. local WolfName = FindWolf()
  254. WolfPlayer = findPlayer(WolfName)
  255. if WolfPlayer ~= nil then
  256. local WolfHead = findHeadFromPlayer(WolfPlayer)
  257. print("creating ESP with wolfhead as " .. WolfHead.Name)
  258. createESP(WolfHead, "WOLF")
  259. end
  260. end
  261.  
  262. local function espHUNTER()
  263. local HunterName = FindHunter()
  264. HunterPlayer = findPlayer(HunterName)
  265. if HunterPlayer ~= nil then
  266. local HunterHead = findHeadFromPlayer(HunterPlayer)
  267. print("creating ESP with hunterhead as " .. HunterHead.Name)
  268. createESP(HunterHead, "HUNTER")
  269. end
  270. end
  271.  
  272. local function teleportBow()
  273. if game.Workspace.EffectsBin:FindFirstChild("Handle") then
  274. game.Workspace.EffectsBin.Handle.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  275. end
  276. end
  277.  
  278. local function onBowDropped(instance)
  279. if instance.Name == "Handle" and LP:FindFirstChild('Backpack') then
  280. while LP.Backpack:FindFirstChildOfClass("Tool") == nil and LP.Character:FindFirstChildOfClass("Tool") == nil do
  281. wait()
  282. teleportBow()
  283. end
  284. end
  285. end
  286.  
  287. --Draggable (Credits to TrustedCardinal @v3rmillion for this draggable part)
  288. local UserInputService = game:GetService("UserInputService")
  289.  
  290. local gui = Frame
  291.  
  292. local dragging
  293. local dragInput
  294. local dragStart
  295. local startPos
  296.  
  297. local function update(input)
  298. local delta = input.Position - dragStart
  299. gui.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  300. end
  301.  
  302. gui.InputBegan:Connect(function(input)
  303. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  304. dragging = true
  305. dragStart = input.Position
  306. startPos = gui.Position
  307.  
  308. input.Changed:Connect(function()
  309. if input.UserInputState == Enum.UserInputState.End then
  310. dragging = false
  311. end
  312. end)
  313. end
  314. end)
  315.  
  316. gui.InputChanged:Connect(function(input)
  317. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  318. dragInput = input
  319. end
  320. end)
  321.  
  322. UserInputService.InputChanged:Connect(function(input)
  323. if input == dragInput and dragging then
  324. update(input)
  325. end
  326. end)
  327.  
  328. --
  329.  
  330. local function disableScreenGui()
  331. ScreenGui.Enabled = not ScreenGui.Enabled
  332. end
  333.  
  334.  
  335. local noclip = false
  336. local function noClip()
  337. if noclip then
  338. while game:GetService('RunService').Stepped:Wait() do --noclip
  339. local character = char or LP.Character
  340. if character ~= nil and character:FindFirstChild('Humanoid') then
  341. for _, limb in pairs(LP.Character:GetChildren()) do
  342. if limb:IsA("BasePart") then
  343. limb.CanCollide = false
  344. print(limb.CanCollide)
  345. end
  346. end
  347. else
  348. noclip = false
  349. NoClipButton.Text = ("No Clip " .. ((noclip and "(ON)") or "(OFF)") .. " | (F)")
  350. return
  351. end
  352. end
  353. end
  354. end
  355.  
  356. local function NoClipClicked()
  357. noclip = not noclip
  358. NoClipButton.Text = ("No Clip " .. ((noclip and "(ON)") or "(OFF)") .. " | (F)")
  359. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  360. noClip()
  361. end
  362.  
  363. local function InputBegan(input, gameProcessed)
  364. if input.UserInputType == Enum.UserInputType.Keyboard then
  365. if input.KeyCode == Enum.KeyCode.Y then
  366. disableScreenGui()
  367. elseif input.KeyCode == Enum.KeyCode.F then
  368. noclip = not noclip
  369. NoClipButton.Text = ("No Clip " .. ((noclip and "(ON)") or "(OFF)") .. " | (F)")
  370. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  371. noClip()
  372. end
  373. end
  374. end
  375.  
  376. local function KillAll()
  377. if LP:FindFirstChild('Backpack') then
  378. if LP.Character:FindFirstChildOfClass("Tool") then
  379. for _,player in pairs(Plrs:GetChildren()) do
  380. if player ~= LP then
  381. local character = player.Character
  382. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  383. if character ~= nil and LP.Character ~= nil then
  384. repeat
  385. LP.Character.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0,0,.5)
  386. game:GetService('RunService').Stepped:Wait()
  387. until not character or not character.Parent
  388. end
  389. end
  390. end
  391. elseif LP.Backpack:FindFirstChildOfClass("Tool") then
  392. LP.Backpack:FindFirstChildOfClass("Tool").Parent = LP.Character
  393. for _,player in pairs(Plrs:GetChildren()) do
  394. if player ~= LP then
  395. local character = player.Character
  396. print("char =", char, "; LPchar =", LPchar, "; character = ", character)
  397. if character ~= nil and LP.Character ~= nil then
  398. repeat
  399. LP.Character.HumanoidRootPart.CFrame = character.HumanoidRootPart.CFrame * CFrame.new(0,0,.5)
  400. game:GetService('RunService').Heartbeat:Wait()
  401. until not character or not character.Parent
  402. end
  403. end
  404. end
  405. end
  406. end
  407. end
  408. --MADE BY "fireztron" @ V3RMILLION
  409. --UserInputs
  410. KillAllButton.MouseButton1Click:Connect(KillAll)
  411. NoClipButton.MouseButton1Click:Connect(NoClipClicked)
  412. UserInputService.InputBegan:Connect(InputBegan)
  413.  
  414. --walkspeed code
  415. WalkSpeedBox.FocusLost:Connect(onWalkSpeedTextChanged)
  416. LP.CharacterAdded:Connect(ChangeLPCharWalkSpeed)
  417. LP.CharacterAdded:Connect(humWalkSpeedChanged)
  418.  
  419. --jumppower code
  420. JumpPowerBox.FocusLost:Connect(onJumpPowerTextChanged)
  421. LP.CharacterAdded:Connect(ChangeLPCharJumpPower)
  422. LP.CharacterAdded:Connect(humJumpPowerChanged)
  423.  
  424. --esp those fucking children
  425. espWOLF()
  426. espHUNTER()
  427.  
  428. --teleport that bow yeah baby
  429. teleportBow()
  430.  
  431. --oh yeah make sure to esp those children when they join
  432. WolvesFolder.ChildAdded:Connect(onWolfAdded)
  433. HuntersFolder.ChildAdded:Connect(onHunterAdded)
  434.  
  435. --teleport that bow constantly oh yes baby
  436. workspace.EffectsBin.ChildAdded:Connect(onBowDropped)
  437.  
  438.  
  439. --esp
  440.  
  441. local ScreenGui = Instance.new("ScreenGui",game:GetService('Players').LocalPlayer.PlayerGui)
  442. local ESPLocation = Instance.new("Folder",ScreenGui)
  443.  
  444.  
  445. local Targets = {
  446. "HumanoidRootPart",
  447. "LeftUpperLeg",
  448. "LowerTorso",
  449. "Head",
  450. "UpperTorso",
  451. "LeftUpperArm",
  452. "LeftLowerArm",
  453. "LeftHand",
  454. "RightUpperArm",
  455. "RightLowerArm",
  456. "RightHand",
  457. "LeftLowerLeg",
  458. "LeftFoot",
  459. "RightUpperLeg",
  460. "RightLowerLeg",
  461. "RightFoot",
  462. }
  463.  
  464. function espPart(part,player)
  465. local esp = Instance.new("BoxHandleAdornment",ESPLocation)
  466. esp.Adornee = part
  467. esp.AlwaysOnTop = true
  468. esp.ZIndex = 1
  469. esp.Transparency = 0.5
  470. esp.Size = part.Size -- - Vector3.new(0,1,0)
  471. if part.Name == "LeftHand" or part.Name == "RightHand" then
  472. esp.Size = part.Size - Vector3.new(0,1,0)
  473. end
  474. esp.Color3 = Color3.fromRGB(255,255,255)
  475. if player.Name == targetPlayer then
  476. esp.Size = part.Size + Vector3.new(1,1,1)
  477. esp.Color3 = Color3.fromRGB(255,0,0)
  478. end
  479. esp.MouseEnter:Connect(function()
  480. if player.Team ~= game:GetService('Players').LocalPlayer.Team then
  481. local currentFrame = esp
  482. end
  483. end)
  484.  
  485. player.CharacterRemoving:Connect(function()
  486. esp:Destroy()
  487. end)
  488. end
  489.  
  490. function espPlayer(player)
  491. if player.Character ~= nil then
  492. for _,part in pairs(player.Character:GetChildren())do
  493. if part:IsA("BasePart") and part.Name ~= "Head" and part.Name ~= "HumanoidRootPart" then
  494. espPart(part,player)
  495. end
  496. end
  497. end
  498. end
  499.  
  500. function ESP()
  501. ESPLocation:ClearAllChildren()
  502. for _,player in pairs(game:GetService('Players'):GetPlayers())do
  503. if player ~= game:GetService('Players').LocalPlayer then
  504. espPlayer(player)
  505. end
  506. end
  507. end
  508.  
  509. ESP()
  510.  
  511. local function WaitUntilCharacterLoaded(Char)
  512. for _,Part in pairs(Targets)do
  513. Char:WaitForChild(Part)
  514. end
  515. end
  516.  
  517. game:GetService('Players').PlayerAdded:Connect(function(Player)
  518. Player.CharacterAdded:Connect(function(Char)
  519. WaitUntilCharacterLoaded(Char)
  520. espPlayer(Player)
  521. end)
  522. end)
  523.  
  524. for _,Player in pairs(game:GetService('Players'):GetPlayers())do
  525. Player.CharacterAdded:Connect(function(Char)
  526. if Player ~= LP then
  527. WaitUntilCharacterLoaded(Char)
  528. espPlayer(Player)
  529. end
  530. end)
  531. end
  532. --MADE BY "fireztron" @ V3RMILLION
  533. warn('LOADED WOLF OR OTHER FUCKER')
  534. warn('SPLASH BEST EXPLOIT')
Add Comment
Please, Sign In to add comment