SpamDuk3

Universal FE Follower Cat

Mar 11th, 2023
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.11 KB | Gaming | 0 0
  1. -- made by rouxhaver/1+1=2
  2. -- use any hats
  3. -- make sure to run a netless/netbypass before running this script
  4.  
  5. local randomstr = tostring(math.random(100000000,999999999))
  6.  
  7. local randomize = Instance.new("ScreenGui")
  8. local randomize_2 = Instance.new("Frame")
  9. local randomize_3 = Instance.new("TextLabel")
  10. local randomize_4 = Instance.new("TextLabel")
  11. local randomize_5 = Instance.new("TextLabel")
  12. local randomize_6 = Instance.new("TextButton")
  13.  
  14.  
  15. randomize.Name = randomstr
  16. randomize.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17. randomize.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  18.  
  19. randomize_2.Name = randomstr
  20. randomize_2.Parent = randomize
  21. randomize_2.BackgroundColor3 = Color3.fromRGB(83, 83, 83)
  22. randomize_2.BorderColor3 = Color3.fromRGB(0, 0, 0)
  23. randomize_2.BorderSizePixel = 10
  24. randomize_2.Position = UDim2.new(0.41513592, 0, 0.377777755, 0)
  25. randomize_2.Size = UDim2.new(0, 230, 0, 197)
  26.  
  27. randomize_3.Name = randomstr
  28. randomize_3.Parent = randomize_2
  29. randomize_3.Active = false
  30. randomize_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  31. randomize_3.BackgroundTransparency = 1.000
  32. randomize_3.Position = UDim2.new(0.0652173907, 0, 0.0913705602, 0)
  33. randomize_3.Size = UDim2.new(0, 208, 0, 88)
  34. randomize_3.Font = Enum.Font.SourceSans
  35. randomize_3.Text = "Made by:"
  36. randomize_3.TextColor3 = Color3.fromRGB(0, 0, 0)
  37. randomize_3.TextSize = 33.000
  38. randomize_3.TextWrapped = true
  39.  
  40. randomize_4.Name = randomstr
  41. randomize_4.Parent = randomize_2
  42. randomize_4.Active = false
  43. randomize_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  44. randomize_4.BackgroundTransparency = 1.000
  45. randomize_4.Position = UDim2.new(0.0652173907, 0, 0.370558381, 0)
  46. randomize_4.Size = UDim2.new(0, 206, 0, 48)
  47. randomize_4.Font = Enum.Font.SourceSans
  48. randomize_4.Text = "(1+1=2 on roblox)"
  49. randomize_4.TextColor3 = Color3.fromRGB(0, 0, 0)
  50. randomize_4.TextSize = 33.000
  51. randomize_4.TextWrapped = true
  52.  
  53. randomize_5.Name = randomstr
  54. randomize_5.Parent = randomize_2
  55. randomize_5.Active = false
  56. randomize_5.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  57. randomize_5.BackgroundTransparency = 1.000
  58. randomize_5.Position = UDim2.new(0.0652173907, 0, 0.558375657, 0)
  59. randomize_5.Size = UDim2.new(0, 205, 0, 46)
  60. randomize_5.Font = Enum.Font.SourceSans
  61. randomize_5.Text = "(rouxhaver on github)"
  62. randomize_5.TextColor3 = Color3.fromRGB(0, 0, 0)
  63. randomize_5.TextScaled = true
  64. randomize_5.TextSize = 33.000
  65. randomize_5.TextWrapped = true
  66.  
  67. randomize_6.Name = randomstr.."2"
  68. randomize_6.Parent = randomize_2
  69. randomize_6.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  70. randomize_6.BorderColor3 = Color3.fromRGB(170, 0, 0)
  71. randomize_6.BorderSizePixel = 3
  72. randomize_6.Position = UDim2.new(0.845000029, 0, 0.0149999997, 0)
  73. randomize_6.Size = UDim2.new(0, 33, 0, 33)
  74. randomize_6.Font = Enum.Font.SourceSans
  75. randomize_6.Text = "X"
  76. randomize_6.TextColor3 = Color3.fromRGB(255, 255, 255)
  77. randomize_6.TextScaled = true
  78. randomize_6.TextSize = 14.000
  79. randomize_6.TextWrapped = true
  80.  
  81. local frame = Game.Players.LocalPlayer.PlayerGui[randomstr]
  82. local close = frame[randomstr][randomstr.."2"]
  83.  
  84. close.MouseButton1Click:connect(function()
  85. frame.Enabled = false
  86. end)
  87.  
  88. local ScreenGui = Instance.new("ScreenGui")
  89. local Start = Instance.new("TextButton")
  90.  
  91.  
  92. Start.Name = "Start"
  93. Start.Parent = ScreenGui
  94. Start.BackgroundColor3 = Color3.fromRGB(0, 220, 92)
  95. Start.BorderColor3 = Color3.fromRGB(53, 53, 53)
  96. Start.BorderSizePixel = 10
  97. Start.Position = UDim2.new(0.418730646, 0, 0.760493815, 0)
  98. Start.Size = UDim2.new(0.162538692, 0, 0.114814818, 0)
  99. Start.Font = Enum.Font.SourceSans
  100. Start.Text = "Start"
  101. Start.TextColor3 = Color3.fromRGB(0, 0, 0)
  102. Start.TextScaled = true
  103. Start.TextSize = 14.000
  104. Start.TextWrapped = true
  105.  
  106. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  107. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  108.  
  109. player = game.Players.LocalPlayer
  110.  
  111. selectedhats = {}
  112.  
  113. ICantDoMathsCount = 0
  114. ytime = 1
  115. weirdcounter = 1
  116.  
  117. for i,v in pairs(player.Character:GetDescendants()) do
  118. if v:IsA("Accessory") then
  119.  
  120. local opt = Instance.new("Frame")
  121. local view = Instance.new("ViewportFrame")
  122. local Select = Instance.new("TextButton")
  123. local cam = Instance.new("Camera")
  124.  
  125. weirdcounter = weirdcounter + 1
  126.  
  127. if weirdcounter == 7 then
  128. ytime = 2
  129. ICantDoMathsCount = 0
  130. end
  131.  
  132. opt.Name = "opt"
  133. opt.Parent = ScreenGui
  134. opt.BackgroundColor3 = Color3.fromRGB(169, 196, 255)
  135. opt.BorderColor3 = Color3.fromRGB(53, 53, 53)
  136. opt.BorderSizePixel = 11
  137. opt.Position = UDim2.new(0.08 + ICantDoMathsCount, 0, 0.249382704 * ytime, 0)
  138. opt.Size = UDim2.new(0.112229101, 0, 0.213580251, 0)
  139.  
  140. ICantDoMathsCount = ICantDoMathsCount + 0.15
  141.  
  142. view.Name = "view"
  143. view.Parent = opt
  144. view.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  145. view.BackgroundTransparency = 1
  146. view.BorderSizePixel = 0
  147. view.Size = UDim2.new(1.00000024, 0, 0.729156077, 0)
  148.  
  149. Select.Name = "Select"
  150. Select.Parent = opt
  151. Select.BackgroundColor3 = Color3.fromRGB(0, 220, 92)
  152. Select.BorderColor3 = Color3.fromRGB(75, 75, 75)
  153. Select.BorderSizePixel = 5
  154. Select.Position = UDim2.new(0.068965517, 0, 0.774566472, 0)
  155. Select.Size = UDim2.new(0.865517259, 0, 0.186705261, 0)
  156. Select.Font = Enum.Font.SourceSans
  157. Select.Text = "Select"
  158. Select.TextColor3 = Color3.fromRGB(0, 0, 0)
  159. Select.TextScaled = true
  160. Select.TextSize = 14.000
  161. Select.TextWrapped = true
  162.  
  163. cam.Parent = opt
  164. cam.CFrame = CFrame.new(0,0,2.5)
  165. view.CurrentCamera = cam
  166. model = Instance.new("Model",view)
  167.  
  168. local hat = v.Handle:Clone()
  169. hat.Parent = model
  170. hat.Anchored = true
  171. hat.Position = Vector3.new(0,0,0)
  172.  
  173. coroutine.wrap(function()
  174. while hat ~= nil do
  175. wait()
  176. hat.Orientation = hat.Orientation + Vector3.new(0,1.5,0)
  177. end
  178. end)()
  179.  
  180. Select.Activated:Connect(function()
  181. Select.BackgroundColor3 = Color3.fromRGB(200, 0, 0)
  182. Select.Text = "Selected"
  183. Select.Active = false
  184. table.insert(selectedhats,v.Name)
  185. end)
  186. end
  187. end
  188.  
  189.  
  190. Start.MouseButton1Up:Connect(function()
  191. ScreenGui:Destroy()
  192.  
  193. folder = Instance.new("Folder",workspace)
  194.  
  195. for i,v in pairs(selectedhats) do
  196.  
  197. local vispet = player.Character[v].Handle
  198.  
  199. local pet = Instance.new("Part",folder)
  200. pet.Name = "pet"
  201. pet.Size = Vector3.new(1,1,1)
  202. pet.Transparency = 1
  203. pet.Position = player.Character.HumanoidRootPart.Position
  204. pet.Anchored = true
  205. pet.CanCollide = false
  206.  
  207. vispet.AccessoryWeld:Destroy()
  208.  
  209.  
  210. local replicate = Instance.new("RopeConstraint",player.Character.Torso)
  211. replicate.Attachment0 = Instance.new("Attachment",player.Character.Torso)
  212. replicate.Attachment1 = Instance.new("Attachment",vispet)
  213. replicate.Length = math.huge
  214.  
  215.  
  216. local function customtwn(input, offset)
  217. local input = input or error("input is nil");
  218. local offset = offset or CFrame.new(0,0,0);
  219. local vec3, cframe;
  220.  
  221. if typeof(input) == "table" then
  222. vec3 = Vector3.new(unpack(input)); cframe = CFrame.new(unpack(input));
  223. elseif typeof(input) ~= "Instance" then
  224. return error("wrong format used");
  225. end;
  226.  
  227. local Time = 0.5
  228. local twn = game.TweenService:Create(pet, TweenInfo.new(Time,Enum.EasingStyle.Quad), {CFrame = (cframe or input.CFrame) * offset});
  229. twn:Play();
  230. end;
  231.  
  232. local change = 0.01
  233. local high = 0
  234. local clock = 0
  235. local offX = math.random(-3,3)
  236. local offY = math.random(-2,3)
  237. local offZ = math.random(-3,3)
  238. local clkrst = math.random(100,300)
  239.  
  240. coroutine.wrap(function()
  241. while task.wait() do
  242. vispet.CFrame = pet.CFrame
  243.  
  244. end
  245. end)()
  246.  
  247. coroutine.wrap(function()
  248. while wait(0.01) do
  249. clock = clock + 1
  250. if clock == clkrst then
  251. offX = math.random(-3,3)
  252. offY = math.random(-2,3)
  253. offZ = math.random(-3,3)
  254. clock = 0
  255. clkrst = math.random(100,300)
  256. end
  257.  
  258. high = high + change
  259.  
  260. if high > 0.5 then
  261. change = -0.02
  262. end
  263.  
  264. if high < -0.5 then
  265. change = 0.02
  266. end
  267. customtwn(player.Character.HumanoidRootPart, CFrame.new(offX,offY + high,offZ))
  268. end
  269. end)()
  270. end
  271. while wait(0.1) do
  272. if player.Character.Humanoid.Health == 0 then
  273. folder:Destroy()
  274. script:Destroy()
  275. end
  276. end
  277. end)
Tags: Roblox Scripts
Add Comment
Please, Sign In to add comment