Palazikaka

Untitled

Mar 9th, 2020
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.76 KB | None | 0 0
  1. loadstring(game:HttpGetAsync("https://pastebin.com/raw/Ts8TSAZN", 0, true))()
  2.  
  3.  
  4. if not _G.ini then
  5. _G.ini = true
  6.  
  7. local sound = Instance.new("Sound")
  8. sound.SoundId = "rbxassetid://216917652"
  9. sound.Parent = game:GetService("SoundService")
  10. sound:Play()
  11.  
  12.  
  13.  
  14. wait()
  15. notify("Press F to open/close", warn(":)"))
  16.  
  17.  
  18. local heartbeat = game:GetService("RunService").Heartbeat
  19. spawn(function()
  20. while true do heartbeat:Wait()
  21. for i,v in pairs(game.Players:GetPlayers()) do
  22. if v == game.Players.LocalPlayer == false then
  23. game.Players.LocalPlayer.MaximumSimulationRadius = math.pow(math.huge,math.huge)*math.huge
  24. game.Players.LocalPlayer.SimulationRadius = math.pow(math.huge,math.huge)*math.huge
  25. v.MaximumSimulationRadius = 0
  26. v.SimulationRadius = 0
  27. game:GetService("RunService").Stepped:wait()
  28. end
  29. end
  30. end
  31. end)
  32.  
  33. local Imput = game:GetService("UserInputService")
  34. local Plr = game.Players.LocalPlayer
  35. local Mouse = Plr:GetMouse()
  36.  
  37. function To(position)
  38. local Chr = Plr.Character
  39. local sound2 = Instance.new("Sound")
  40. sound2.SoundId = "rbxassetid://3398620867"
  41. sound2.Parent = game:GetService("SoundService")
  42. if Chr ~= nil then
  43. for index, part in pairs(game:GetDescendants()) do
  44. if part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then --// Checks Part Properties
  45. part.CFrame = CFrame.new(position) --TP Part To Mouse
  46. sound2:Play()
  47.  
  48. if spam == true and part:FindFirstChild("BodyGyro") == nil then
  49. local bodyPos = Instance.new("BodyPosition")
  50. bodyPos.Position = part.Position
  51. bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  52. bodyPos.P = 1e6
  53. bodyPos.Parent = part
  54. end
  55. end
  56. end
  57. end
  58. end
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Imput.InputBegan:Connect(function(input)
  65. if input.UserInputType == Enum.UserInputType.MouseButton1 and Imput:IsKeyDown(Enum.KeyCode.LeftControl) then
  66. To(Mouse.Hit.p)
  67. end
  68. end)
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77. local toggle_key = Enum.KeyCode.F
  78.  
  79.  
  80. execute = function(name)
  81.  
  82.  
  83.  
  84. for index, part in pairs(game:GetDescendants()) do
  85. if part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then --// Checks Part Properties
  86. part.CFrame = CFrame.new(game.workspace[name].Head.Position) --TP Part To User
  87. end
  88. end
  89.  
  90.  
  91.  
  92. end
  93.  
  94. local uis = game:GetService("UserInputService")
  95. local ts = game:GetService("TweenService")
  96.  
  97.  
  98. fade = function(obj, len, props)
  99. ts:Create(obj, TweenInfo.new(len, Enum.EasingStyle.Sine), props):Play()
  100. end
  101.  
  102.  
  103. local u2, c3 = UDim2.new, Color3.fromRGB
  104. local u2f, c3w = u2(1, 0, 1, 0), c3(255, 255, 255)
  105.  
  106.  
  107. local g = Instance.new("ScreenGui", game.CoreGui)
  108. local f = Instance.new("Frame", g)
  109. local t = Instance.new("TextLabel", f)
  110. local c = Instance.new("ScrollingFrame", f)
  111.  
  112.  
  113. local padding = Instance.new("UIPadding", f)
  114. local maxsize = Instance.new("UISizeConstraint", f)
  115. local textsize = Instance.new("UITextSizeConstraint", t)
  116. local listcons = Instance.new("UIListLayout", c)
  117.  
  118. padding.PaddingBottom = UDim.new(0, 8)
  119. padding.PaddingLeft = UDim.new(0, 15)
  120. padding.PaddingRight = UDim.new(0, 15)
  121. padding.PaddingTop = UDim.new(0, 0)
  122.  
  123. maxsize.MaxSize = Vector2.new(275, 450)
  124. maxsize.MinSize = Vector2.new(200, 0)
  125. textsize.MaxTextSize = 16
  126. listcons.Padding = UDim.new(0, 3)
  127.  
  128.  
  129. g.Name = "unanchor_ui"
  130. g.ResetOnSpawn = false
  131. f.Name = "main"
  132. t.Name = "header"
  133.  
  134. f.Size = u2(0.165, 0, 0.6, 0)
  135. f.BorderSizePixel = 0
  136. f.BackgroundTransparency = 0.3
  137. f.Position = u2(1, -215, 0.5, -150)
  138. f.BackgroundColor3 = c3()
  139. f.AnchorPoint = Vector2.new(1, 0.5)
  140. f.Position = u2(1, -15, 0.5, 0)
  141.  
  142. t.Size = u2(1, 0, 0.1, 0)
  143. t.BackgroundTransparency = 1
  144. t.TextColor3 = c3w
  145. t.Font = Enum.Font.GothamBold
  146. t.TextScaled = true
  147. t.TextXAlignment = Enum.TextXAlignment.Center
  148. t.Text = "UNANCHORED hats trolling"
  149.  
  150. c.Name = "playerlist"
  151. c.Position = u2(0, 0, 0.1, 0)
  152. c.Size = u2(1, 0, 0.45, 0)
  153. c.BackgroundTransparency = 1
  154. c.BorderSizePixel = 0
  155. c.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  156. c.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  157. c.ScrollingDirection = Enum.ScrollingDirection.Y
  158. c.ScrollBarThickness = 5
  159. c.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  160.  
  161. -- playerlist entry ui template
  162. local temp = Instance.new("Frame", f)
  163. temp.Name = "temp"
  164. temp.Visible = false
  165. temp.Size = u2(1, -5, 0, 27)
  166. temp.BackgroundTransparency = 0.5
  167. temp.BorderSizePixel = 0
  168. temp.ClipsDescendants = true
  169. temp.BackgroundColor3 = c3()
  170.  
  171. local tpad = Instance.new("UIPadding", temp)
  172. tpad.PaddingLeft = UDim.new(0, 5)
  173. tpad.PaddingRight = UDim.new(0, 5)
  174.  
  175. local tb = Instance.new("TextButton", temp)
  176. tb.Name = "button"
  177. tb.BackgroundTransparency = 1
  178. tb.ZIndex = 5
  179. tb.BorderSizePixel = 0
  180. tb.Text = ""
  181. tb.Size = u2(1, 10, 1, 0)
  182. tb.Position = u2(0, -5, 0, 0)
  183.  
  184. local tcl = Instance.new("TextLabel", temp)
  185. tcl.Name = "username"
  186. tcl.BackgroundTransparency = 1
  187. tcl.BorderSizePixel = 0
  188. tcl.Size = u2f
  189. tcl.TextColor3 = c3w
  190. tcl.TextXAlignment = Enum.TextXAlignment.Left
  191. tcl.TextScaled = true
  192. tcl.Size = u2(0.6, 0, 1, 0)
  193. tcl.Font = Enum.Font.Gotham
  194.  
  195. local tcls = Instance.new("UITextSizeConstraint", tcl)
  196. tcls.MaxTextSize = 14
  197.  
  198. local thumb = Instance.new("ImageLabel", temp)
  199. thumb.Name = "thumb"
  200. thumb.Size = u2(0.35, 0, 0.35, 0)
  201. thumb.SizeConstraint = Enum.SizeConstraint.RelativeXX
  202. thumb.Position = u2(1, 0, 0, -15)
  203. thumb.AnchorPoint = Vector2.new(1, 0)
  204. thumb.BackgroundTransparency = 1
  205. thumb.BorderSizePixel = 0
  206.  
  207. -- settings ui
  208. local sh = Instance.new("TextLabel", f)
  209. sh.Name = "settings_header"
  210. sh.Size = u2(1, 0, 0.1, 0)
  211. sh.Position = u2(0, 0, 0.55, 0)
  212. sh.BackgroundTransparency = 1
  213. sh.BorderSizePixel = 0
  214. sh.ZIndex = 3
  215. sh.TextColor3 = c3w
  216. sh.Font = Enum.Font.GothamBold
  217. sh.TextScaled = true
  218. sh.TextXAlignment = Enum.TextXAlignment.Center
  219. sh.Text = "SETTINGS"
  220.  
  221. local shs = Instance.new("UITextSizeConstraint", sh)
  222. shs.MaxTextSize = 16
  223.  
  224. local items = Instance.new("ScrollingFrame", f)
  225. items.Name = "items"
  226. items.Size = u2(1, 0, 0.35, 0)
  227. items.Position = u2(0, 0, 0.65, 0)
  228. items.BackgroundTransparency = 1
  229. items.BorderSizePixel = 0
  230. items.TopImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  231. items.BottomImage = "rbxasset://textures/ui/Scroll/scroll-middle.png"
  232. items.ScrollingDirection = Enum.ScrollingDirection.Y
  233. items.ScrollBarThickness = 5
  234. items.VerticalScrollBarInset = Enum.ScrollBarInset.ScrollBar
  235.  
  236. local itemll = Instance.new("UIListLayout", items)
  237. itemll.Padding = UDim.new(0, 3)
  238.  
  239. createSetting = function(name)
  240. local setting = Instance.new("Frame", items)
  241. setting.Size = u2(1, -5, 0, 27)
  242. setting.BackgroundColor3 = c3()
  243. setting.BackgroundTransparency = 0.5
  244. setting.BorderSizePixel = 0
  245.  
  246. local spad = tpad:Clone()
  247. spad.Parent = setting
  248.  
  249. local slab = tcl:Clone()
  250. slab.Name = "label"
  251. slab.Parent = setting
  252. slab.Size = u2(1, 0, 1, 0)
  253. slab.Text = name
  254.  
  255. local stbt = tb:Clone()
  256. stbt.Parent = setting
  257.  
  258. stbt.MouseEnter:connect(function()
  259. fade(setting, 0.25, {BackgroundTransparency = 0.8})
  260. end)
  261.  
  262. stbt.MouseLeave:connect(function()
  263. fade(setting, 0.25, {BackgroundTransparency = 0.5})
  264. end)
  265.  
  266. items.CanvasSize = u2(0, 0, 0, itemll.AbsoluteContentSize.Y)
  267.  
  268. return stbt
  269. end
  270.  
  271.  
  272. -- settings & functionality
  273.  
  274.  
  275.  
  276. local sound = Instance.new("Sound")
  277. sound.SoundId = "rbxassetid://179235828"
  278. sound.Parent = game:GetService("SoundService")
  279.  
  280.  
  281. spam = false
  282. local spamblocks = createSetting("Spam Parts")
  283. spamblocks.MouseButton1Down:connect(function()
  284. spam = not spam
  285. if spam then
  286. fade(spamblocks.Parent.label, 0.25, {TextColor3 = c3(52, 189, 98)})
  287. sound:Play()
  288. -- code to loop here
  289. else
  290. fade(spamblocks.Parent.label, 0.25, {TextColor3 = c3w})
  291. sound:Play()
  292. -- code to break the loop here
  293. end
  294. end)
  295.  
  296.  
  297.  
  298. createSetting("Break Spam").MouseButton1Down:connect(function()
  299. for index, part in pairs(game:GetDescendants()) do
  300. if part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then --// Checks Part Properties
  301. sound:Play()
  302. if part:FindFirstChild("BodyForce") then
  303. part.BodyForce:Destroy()
  304. end
  305.  
  306. if part:FindFirstChild("BodyGyro") then
  307. part.BodyGyro:Destroy()
  308. end
  309.  
  310. if part:FindFirstChild("BodyPosition") then
  311. part.BodyPosition:Destroy()
  312. end
  313.  
  314. if part:FindFirstChild("BodyThrust") then
  315. part.BodyThrust:Destroy()
  316. end
  317. end
  318. end
  319. end)
  320.  
  321. freeze = false
  322. local freezeblocks = createSetting("Freeze Parts")
  323. freezeblocks.MouseButton1Down:connect(function()
  324. freeze = not freeze
  325. if freeze then
  326. fade(freezeblocks.Parent.label, 0.25, {TextColor3 = c3(52, 189, 98)})
  327. sound:Play()
  328. print "UTP: Freezed Parts"
  329. for _,part in pairs(workspace:GetChildren()) do
  330. if part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then --// Checks Part Properties
  331. local bodyPos = Instance.new("BodyPosition")
  332. bodyPos.Position = part.Position
  333. bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  334. bodyPos.P = 1e6
  335. bodyPos.Parent = part
  336. end
  337. end
  338. else
  339. fade(freezeblocks.Parent.label, 0.25, {TextColor3 = c3w})
  340. sound:Play()
  341. print "UTP: Thawed Parts"
  342. for _,part in pairs(workspace:GetChildren()) do
  343. if part:IsA("BasePart" or "UnionOperation" or "Model") and part.Anchored == false and part:IsDescendantOf(game.Players.LocalPlayer.Character) == false and part.Name == "Torso" == false and part.Name == "Head" == false and part.Name == "Right Arm" == false and part.Name == "Left Arm" == false and part.Name == "Right Leg" == false and part.Name == "Left Leg" == false and part.Name == "HumanoidRootPart" == false then --// Checks Part Properties
  344. if part:FindFirstChild("BodyPosition") then
  345. part.BodyPosition:Destroy()
  346. end
  347. end
  348. -- code to break the loop here
  349. end
  350. end
  351. end)
  352.  
  353. createSetting("Remove Accessories Mesh").MouseButton1Down:connect(function()
  354. sound:Play()
  355.  
  356. local plr = game:GetService("Players").LocalPlayer
  357. local char = plr.Character
  358. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  359. if v:IsA("Accessory") and v.Handle:FindFirstChild("SpecialMesh") then
  360. ag = v.Handle:FindFirstChild("SpecialMesh")
  361. ag:Destroy()
  362. end
  363. end
  364.  
  365.  
  366. local plr = game:GetService("Players").LocalPlayer
  367. local char = plr.Character
  368. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  369. if v:IsA("Accessory") and v.Handle:FindFirstChild("Mesh") then
  370. ag = v.Handle:FindFirstChild("Mesh")
  371. ag:Destroy()
  372. end
  373. end
  374. end)
  375.  
  376. createSetting("Drop Accessories").MouseButton1Down:connect(function()
  377. sound:Play()
  378. for _,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  379. if v:IsA("Accessory") then
  380. v.Handle.Parent = workspace
  381. v.Parent = workspace
  382. end
  383. end
  384. end)
  385.  
  386. createSetting("Reset").MouseButton1Down:connect(function()
  387. sound:Play()
  388. game.Players.LocalPlayer.Character:BreakJoints()
  389. end)
  390.  
  391.  
  392. createSetting("Check Other Players").MouseButton1Down:connect(function()
  393. sound:Play()
  394. local heartbeat = game:GetService("RunService").Heartbeat
  395. g = 0
  396. spawn(function()
  397. for i,v in pairs(game.Players:GetPlayers()) do
  398. if v.SimulationRadius > 5555 then
  399. g = g + 1
  400. print(v.Name, "is using Unanchored To Player")
  401. game:GetService("RunService").Stepped:wait()
  402.  
  403. end
  404. end
  405. print ("Checked all players, found", g ,"using Unanchored To Player")
  406. end)
  407. end)
  408.  
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416. createEntry = function(name, id)
  417. local entry = temp:Clone()
  418. entry.Parent = c
  419. entry.username.Text = name
  420. entry.thumb.Image = game:GetService("Players"):GetUserThumbnailAsync(id, Enum.ThumbnailType.HeadShot, Enum.ThumbnailSize.Size100x100)
  421. entry.Visible = true
  422. entry.LayoutOrder = #c:GetChildren()
  423. entry.Name = name
  424.  
  425. local sound = Instance.new("Sound")
  426. sound.SoundId = "rbxassetid://3398620867"
  427. sound.Parent = game:GetService("SoundService")
  428.  
  429. entry.button.MouseButton1Down:connect(function()
  430. execute(name)
  431. sound:Play()
  432. end)
  433.  
  434. entry.button.MouseEnter:connect(function()
  435. fade(entry, 0.25, {BackgroundTransparency = 0.8})
  436. end)
  437.  
  438. entry.button.MouseLeave:connect(function()
  439. fade(entry, 0.25, {BackgroundTransparency = 0.5})
  440. end)
  441. end
  442.  
  443. deleteEntry = function(name)
  444. for _,v in pairs(c:GetChildren()) do
  445. if v.Name == name then
  446. v:Destroy()
  447. end
  448. end
  449. end
  450.  
  451.  
  452. createEntry(game.Players.LocalPlayer.Name, game.Players.LocalPlayer.UserId)
  453.  
  454.  
  455. for _,v in pairs(game.Players:GetPlayers()) do
  456. if v ~= game.Players.LocalPlayer then
  457. createEntry(v.Name, v.UserId)
  458. end
  459. end
  460.  
  461. listcons:GetPropertyChangedSignal("AbsoluteContentSize"):connect(function()
  462. c.CanvasSize = u2(0, 0, 0, listcons.AbsoluteContentSize.Y)
  463. end)
  464.  
  465. itemll:GetPropertyChangedSignal("AbsoluteContentSize"):connect(function()
  466. items.CanvasSize = u2(0, 0, 0, itemll.AbsoluteContentSize.Y)
  467. end)
  468.  
  469. uis.InputBegan:connect(function(input, gpe)
  470. if not gpe then
  471. if input.KeyCode == toggle_key then
  472. g.Enabled = not g.Enabled
  473. end
  474. end
  475. end)
  476.  
  477.  
  478. local dragging
  479. local dragInput
  480. local dragStart
  481. local startPos
  482.  
  483. local function update(input)
  484. local delta = input.Position - dragStart
  485. f.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  486. end
  487.  
  488. f.InputBegan:Connect(function(input)
  489. if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
  490. dragging = true
  491. dragStart = input.Position
  492. startPos = f.Position
  493.  
  494. input.Changed:Connect(function()
  495. if input.UserInputState == Enum.UserInputState.End then
  496. dragging = false
  497. end
  498. end)
  499. end
  500. end)
  501.  
  502. f.InputChanged:Connect(function(input)
  503. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  504. dragInput = input
  505. end
  506. end)
  507.  
  508. uis.InputChanged:Connect(function(input)
  509. if input == dragInput and dragging then
  510. update(input)
  511. end
  512. end)
  513.  
  514. game.Players.PlayerAdded:connect(function(plr)
  515. createEntry(plr.Name, plr.UserId)
  516. end)
  517.  
  518. game.Players.PlayerRemoving:connect(function(plr)
  519. deleteEntry(plr.Name)
  520. end)
  521. else
  522. print "ok"
  523.  
  524.  
  525.  
  526. local sound = Instance.new("Sound")
  527. sound.SoundId = "rbxassetid://2130284653"
  528. sound.Parent = game:GetService("SoundService")
  529. sound:Play()
  530.  
  531. notify("alreadt loaded", warn(":)"))
  532. end
Add Comment
Please, Sign In to add comment