Advertisement
Ben_Scripts343

Hat giver FE made by me

Jun 28th, 2021
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. local SkiddingOffAScript = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local btn = Instance.new("TextButton")
  4. local find = Instance.new("TextBox")
  5. local btn2 = Instance.new("TextButton")
  6.  
  7. SkiddingOffAScript.Name = "SkiddingOffAScript"
  8. SkiddingOffAScript.Parent = game.CoreGui
  9. SkiddingOffAScript.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. Main.Name = "Main"
  12. Main.Parent = SkiddingOffAScript
  13. Main.BackgroundColor3 = Color3.new(0.615686, 0.615686, 0.615686)
  14. Main.BorderSizePixel = 0
  15. Main.Position = UDim2.new(0.620057821, 0, 0.333965838, 0)
  16. Main.Size = UDim2.new(0, 359, 0, 213)
  17. Main.Draggable=true
  18. Main.Active=true
  19.  
  20.  
  21. btn.Name = "btn"
  22. btn.Parent = Main
  23. btn.BackgroundColor3 = Color3.new(0.466667, 0.992157, 1)
  24. btn.BorderSizePixel = 0
  25. btn.Position = UDim2.new(0.267826349, 0, 0.4852, 0)
  26. btn.Size = UDim2.new(0, 165, 0, 41)
  27. btn.Font = Enum.Font.SourceSans
  28. btn.Text = "Hat them"
  29. btn.TextColor3 = Color3.new(0, 0, 0)
  30. btn.TextSize = 23
  31. btn.MouseButton1Click:connect(function()
  32. for i,v in next, game:GetService("Players").LocalPlayer.Character:GetDescendants() do
  33. if v:IsA("BasePart") and v.Name ~="HumanoidRootPart" then
  34. game:GetService("RunService").Heartbeat:connect(function()
  35. v.Velocity = Vector3.new(45,0,0)
  36. end)
  37. end
  38. end
  39.  
  40. if CONNECTION then
  41. CONNECTION:Disconnect()
  42. end getgenv().CONNECTION=game:GetService("RunService").RenderStepped:Connect(function()
  43. settings().Physics.AllowSleep = false
  44. settings().Physics.PhysicsEnvironmentalThrottle = Enum.EnviromentalPhysicsThrottle.Disabled
  45. setsimulationradius(math.huge*math.huge,math.huge*math.huge)
  46. end)
  47.  
  48. wait(.8)
  49. game.StarterGui:SetCore("SendNotification",{
  50. Title="Loaded";
  51. Text="Well cool script";
  52. Duration=".8";
  53. Button1="NO!";
  54. })
  55.  
  56. wait(.9)
  57. local ms=game.Players.LocalPlayer:GetMouse()
  58. local plr=game.Players.LocalPlayer
  59. local char=game.Players.LocalPlayer.Character
  60. local seeeeeee2=find.Text
  61. local plr=game.Workspace:FindFirstChild(seeeeeee2)
  62.  
  63. for i,b in next, char:GetChildren() do
  64. if b.ClassName=="Accessory"then
  65. local ap=Instance.new("AlignPosition",b.Handle)
  66. local t1=Instance.new("Attachment",b.Handle)
  67. local t2=Instance.new("Attachment",char.Head)
  68. t2.Name="HiroAttachmentLillypad"
  69. ap.Attachment0=t1
  70. ap.RigidityEnabled=true
  71. ap.Attachment1=t2
  72. local ao=Instance.new("AlignOrientation",b.Handle)
  73. ao.Attachment0=t1
  74. ao.RigidityEnabled=true
  75. ao.Attachment1=t2
  76. b.Handle:BreakJoints()
  77. t2.Position=Vector3.new(0,.67,0)
  78. t2.Rotation=Vector3.new(2,0,0)
  79. wait(.8)
  80. t2.Parent=plr.Head
  81. end
  82. end
  83. end)
  84.  
  85. find.Name = "find"
  86. find.Parent = Main
  87. find.BackgroundColor3 = Color3.new(1, 1, 1)
  88. find.Position = UDim2.new(0.16698879, 0, 0.154071063, 0)
  89. find.Size = UDim2.new(0, 238, 0, 34)
  90. find.Font = Enum.Font.SourceSans
  91. find.Text = ""
  92. find.TextColor3 = Color3.new(0, 0, 0)
  93. find.TextSize = 14
  94.  
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement