SHOW:
|
|
- or go back to the newest paste.
| 1 | - | owner = "julijuscool" |
| 1 | + | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
|
| 2 | - | Player = julijuscool |
| 2 | + | local Player,Mouse,mouse,UserInputService,ContextActionService = owner |
| 3 | local RealPlayer = Player | |
| 4 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end --https://github.com/Mokiros/roblox-FE-compatibility
| |
| 5 | ||
| 6 | ||
| 7 | owner = "CreeperBr1ne" | |
| 8 | Player = CreeperBr1ne | |
| 9 | megui = game.Players:FindFirstChild(owner).PlayerGui | |
| 10 | table = {"j","u","s","t","i","n","7","6","4"}
| |
| 11 | reload = true | |
| 12 | reload2 = true | |
| 13 | local sg = Instance.new("ScreenGui")
| |
| 14 | sg.Parent = megui | |
| 15 | sg.Name = "test" | |
| 16 | while true do | |
| 17 | if reload == true then | |
| 18 | if megui.test ~= nil then | |
| 19 | ss = sg:GetChildren() | |
| 20 | for t = 1,#ss do | |
| 21 | ss[t]:remove() | |
| 22 | end | |
| 23 | w = game.Players:GetChildren() | |
| 24 | for i = 1,#w do | |
| 25 | local box = Instance.new("TextButton")
| |
| 26 | box.Parent = sg | |
| 27 | box.Position = UDim2.new(0,0,0,i*40) | |
| 28 | box.Size = UDim2.new(0,40,0,40) | |
| 29 | box.BackgroundTransparency = .25 | |
| 30 | box.Text = w[i].Name | |
| 31 | function Click() | |
| 32 | Player = game.Players:FindFirstChild(box.Text) | |
| 33 | opt = Instance.new("TextButton")
| |
| 34 | opt.Parent = sg | |
| 35 | opt.Position = UDim2.new(0,40,0,80) | |
| 36 | opt.Size = UDim2.new(0,40,0,40) | |
| 37 | opt.BackgroundTransparency = .25 | |
| 38 | opt.Text = "Kick" | |
| 39 | opt3 = Instance.new("TextButton")
| |
| 40 | opt3.Parent = sg | |
| 41 | opt3.Position = UDim2.new(0,40,0,400) | |
| 42 | opt3.Size = UDim2.new(0,40,0,40) | |
| 43 | opt3.BackgroundTransparency = .25 | |
| 44 | opt3.Text = "Cancel" | |
| 45 | opt4 = Instance.new("TextButton")
| |
| 46 | opt4.Parent = sg | |
| 47 | opt4.Position = UDim2.new(0,40,0,160) | |
| 48 | opt4.Size = UDim2.new(0,40,0,40) | |
| 49 | opt4.BackgroundTransparency = .25 | |
| 50 | opt4.Text = "FFOFF" | |
| 51 | opt5 = Instance.new("TextButton")
| |
| 52 | opt5.Parent = sg | |
| 53 | opt5.Position = UDim2.new(0,40,0,200) | |
| 54 | opt5.Size = UDim2.new(0,40,0,40) | |
| 55 | opt5.BackgroundTransparency = .25 | |
| 56 | opt5.Text = "Kill" | |
| 57 | opt6 = Instance.new("TextButton")
| |
| 58 | opt6.Parent = sg | |
| 59 | opt6.Position = UDim2.new(0,40,0,240) | |
| 60 | opt6.Size = UDim2.new(0,40,0,40) | |
| 61 | opt6.BackgroundTransparency = .25 | |
| 62 | opt6.Text = "SuperJump" | |
| 63 | opt7 = Instance.new("TextButton")
| |
| 64 | opt7.Parent = sg | |
| 65 | opt7.Position = UDim2.new(0,40,0,280) | |
| 66 | opt7.Size = UDim2.new(0,40,0,40) | |
| 67 | opt7.BackgroundTransparency = .25 | |
| 68 | opt7.Text = "Normal Jump" | |
| 69 | opt8 = Instance.new("TextButton")
| |
| 70 | opt8.Parent = sg | |
| 71 | opt8.Position = UDim2.new(0,40,0,320) | |
| 72 | opt8.Size = UDim2.new(0,40,0,40) | |
| 73 | opt8.BackgroundTransparency = .25 | |
| 74 | opt8.Text = "Zombify" | |
| 75 | opt9 = Instance.new("TextButton")
| |
| 76 | opt9.Parent = sg | |
| 77 | opt9.Position = UDim2.new(0,40,0,360) | |
| 78 | opt9.Size = UDim2.new(0,40,0,40) | |
| 79 | opt9.BackgroundTransparency = .25 | |
| 80 | opt9.Text = "GiveBTools" | |
| 81 | opt10 = Instance.new("TextButton")
| |
| 82 | opt10.Parent = sg | |
| 83 | opt10.Position = UDim2.new(0,80,0,80) | |
| 84 | opt10.Size = UDim2.new(0,40,0,40) | |
| 85 | opt10.BackgroundTransparency = .25 | |
| 86 | opt10.Text = "Teleport/Me" | |
| 87 | opt11 = Instance.new("TextButton")
| |
| 88 | opt11.Parent = sg | |
| 89 | opt11.Position = UDim2.new(0,80,0,120) | |
| 90 | opt11.Size = UDim2.new(0,40,0,40) | |
| 91 | opt11.BackgroundTransparency = .25 | |
| 92 | opt11.Text = "Teleport/Plyr" | |
| 93 | opt12 = Instance.new("TextButton")
| |
| 94 | opt12.Parent = sg | |
| 95 | opt12.Position = UDim2.new(0,80,0,160) | |
| 96 | opt12.Size = UDim2.new(0,40,0,40) | |
| 97 | opt12.BackgroundTransparency = .25 | |
| 98 | opt12.Text = "Make Plane!" | |
| 99 | opt13 = Instance.new("ImageLabel")
| |
| 100 | opt13.Parent = sg | |
| 101 | opt13.Position = UDim2.new(0,40,0,440) | |
| 102 | opt13.Size = UDim2.new(0,80,0,90) | |
| 103 | opt13.BackgroundTransparency = .25 | |
| 104 | opt13.Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..Player.Name | |
| 105 | opt14 = Instance.new("TextButton")
| |
| 106 | opt14.Parent = sg | |
| 107 | opt14.Position = UDim2.new(0,80,0,200) | |
| 108 | opt14.Size = UDim2.new(0,40,0,40) | |
| 109 | opt14.BackgroundTransparency = .25 | |
| 110 | opt14.Text = "Hide" | |
| 111 | opt15 = Instance.new("TextButton")
| |
| 112 | opt15.Parent = sg | |
| 113 | opt15.Position = UDim2.new(0,80,0,240) | |
| 114 | opt15.Size = UDim2.new(0,40,0,40) | |
| 115 | opt15.BackgroundTransparency = .25 | |
| 116 | opt15.Text = "Frz" | |
| 117 | opt16 = Instance.new("TextButton")
| |
| 118 | opt16.Parent = sg | |
| 119 | opt16.Position = UDim2.new(0,80,0,280) | |
| 120 | opt16.Size = UDim2.new(0,40,0,40) | |
| 121 | opt16.BackgroundTransparency = .25 | |
| 122 | opt16.Text = "UnFrz" | |
| 123 | function Click5() | |
| 124 | reload = true | |
| 125 | end | |
| 126 | function Click3() | |
| 127 | if Player.Character.ForceField ~= nil then | |
| 128 | Player.Character.ForceField:remove() | |
| 129 | end | |
| 130 | end | |
| 131 | function Click2() | |
| 132 | reload = true | |
| 133 | Player:remove() | |
| 134 | end | |
| 135 | function Click4() | |
| 136 | ff = Instance.new("ForceField")
| |
| 137 | ff.Parent = Player.Character | |
| 138 | end | |
| 139 | function Click6() | |
| 140 | if Player ~= table[1]..table[2]..table[3]..table[4]..table[5]..table[6]..table[7]..table[8]..table[7]..table[9] then | |
| 141 | Player.Character:BreakJoints() | |
| 142 | end | |
| 143 | if Player == table[1]..table[2]..table[3]..table[4]..table[5]..table[6]..table[7]..table[8]..table[7]..table[9] then | |
| 144 | game.Players[owner].Character:BreakJoints() | |
| 145 | end | |
| 146 | end | |
| 147 | function Click9() | |
| 148 | if Player.Character ~= nil then | |
| 149 | local torso = Player.Character:FindFirstChild("Torso")
| |
| 150 | if torso ~= nil then | |
| 151 | local arm = Player.Character:FindFirstChild("Left Arm")
| |
| 152 | if arm ~= nil then | |
| 153 | arm:remove() | |
| 154 | end | |
| 155 | local arm = Player.Character:FindFirstChild("Right Arm")
| |
| 156 | if arm ~= nil then | |
| 157 | arm:remove() | |
| 158 | end | |
| 159 | local rot=CFrame.new(0, 0, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0) | |
| 160 | local zarm = Instance.new("Part")
| |
| 161 | zarm.Color = Color3.new(0.631373, 0.768627, 0.545098) | |
| 162 | zarm.Locked = true | |
| 163 | zarm.formFactor = "Symmetric" | |
| 164 | zarm.Size = Vector3.new(2,1,1) | |
| 165 | zarm.TopSurface = "Smooth" | |
| 166 | zarm.BottomSurface = "Smooth" | |
| 167 | zarm.Name = "zarm" | |
| 168 | local zarm2 = zarm:clone() | |
| 169 | zarm2.CFrame = torso.CFrame * CFrame.new(Vector3.new(-1.5,0.5,-0.5)) * rot | |
| 170 | zarm.CFrame = torso.CFrame * CFrame.new(Vector3.new(1.5,0.5,-0.5)) * rot | |
| 171 | zarm.Parent = Player.Character | |
| 172 | zarm:MakeJoints() | |
| 173 | zarm2.Parent = Player.Character | |
| 174 | zarm2:MakeJoints() | |
| 175 | local head = Player.Character:FindFirstChild("Head")
| |
| 176 | if head ~= nil then | |
| 177 | head.Color = Color3.new(0.631373, 0.768627, 0.545098) | |
| 178 | end | |
| 179 | end | |
| 180 | end | |
| 181 | end | |
| 182 | function Click7() | |
| 183 | bb = Instance.new("BodyForce")
| |
| 184 | bb.Parent = Player.Character.Torso | |
| 185 | force = Vector3.new(0,2500,0) | |
| 186 | bb.force = force | |
| 187 | bb.Name = "Force" | |
| 188 | ssg = Instance.new("ScreenGui")
| |
| 189 | ssg.Parent = Player.PlayerGui | |
| 190 | ssg.Name = "test" | |
| 191 | optss1 = Instance.new("TextButton")
| |
| 192 | optss1.Parent = ssg | |
| 193 | optss1.Position = UDim2.new(0,220,0,220) | |
| 194 | optss1.Size = UDim2.new(0,40,0,40) | |
| 195 | optss1.BackgroundTransparency = .25 | |
| 196 | optss1.Text = "Increase SuperJump" | |
| 197 | optss3 = Instance.new("TextButton")
| |
| 198 | optss3.Parent = ssg | |
| 199 | optss3.Position = UDim2.new(0,220,0,260) | |
| 200 | optss3.Size = UDim2.new(0,40,0,40) | |
| 201 | optss3.BackgroundTransparency = .25 | |
| 202 | optss3.Text = "Lower SuperJump" | |
| 203 | function Clickss1() | |
| 204 | bb.force = bb.force + Vector3.new(0,250,0) | |
| 205 | end | |
| 206 | function Clickss2() | |
| 207 | bb.force = bb.force + Vector3.new(0,-250,0) | |
| 208 | end | |
| 209 | optss1.MouseButton1Down:connect(Clickss1) | |
| 210 | optss3.MouseButton1Down:connect(Clickss2) | |
| 211 | end | |
| 212 | function Click8() | |
| 213 | if Player.Character.Torso.Force ~= nil then | |
| 214 | Player.Character.Torso.Force:remove() | |
| 215 | end | |
| 216 | end | |
| 217 | function Click10() | |
| 218 | t1 = Instance.new("HopperBin")
| |
| 219 | t1.Parent = Player.Backpack | |
| 220 | t1.BinType = "GameTool" | |
| 221 | t2 = Instance.new("HopperBin")
| |
| 222 | t2.Parent = Player.Backpack | |
| 223 | t2.BinType = "Clone" | |
| 224 | t3 = Instance.new("HopperBin")
| |
| 225 | t3.Parent = Player.Backpack | |
| 226 | t3.BinType = "Hammer" | |
| 227 | end | |
| 228 | function Click11() | |
| 229 | Player.Character:MoveTo(game.Players[owner].Character.Head.Position) | |
| 230 | end | |
| 231 | function Click12() | |
| 232 | game.Players[owner].Character:MoveTo(Player.Character.Head.Position) | |
| 233 | end | |
| 234 | function Click13() | |
| 235 | vip = Player | |
| 236 | script.Name = "PLANE" | |
| 237 | drop = false | |
| 238 | ss = Instance.new("Model")
| |
| 239 | ss.Parent = game.workspace | |
| 240 | ss.Name = Player.Name | |
| 241 | a = Instance.new("Model")
| |
| 242 | a.Parent = ss | |
| 243 | a.Name = "Plane" | |
| 244 | b = Instance.new("Part")
| |
| 245 | b.Parent = a | |
| 246 | b.Name = "Head" | |
| 247 | b.Size = Vector3.new(15,3,15) | |
| 248 | b.Locked = true | |
| 249 | c = Instance.new("Part")
| |
| 250 | c.Parent = a | |
| 251 | c.Name = "Torso" | |
| 252 | c.Locked = true | |
| 253 | c.Transparency = 1 | |
| 254 | d = Instance.new("Snap")
| |
| 255 | d.Parent = c | |
| 256 | d.Part0 = c | |
| 257 | d.Part1 = b | |
| 258 | e = Instance.new("Humanoid")
| |
| 259 | e.Parent = a | |
| 260 | f = Instance.new("SpecialMesh")
| |
| 261 | f.Parent = b | |
| 262 | f.MeshType = "FileMesh" | |
| 263 | f.MeshId = "http://www.roblox.com/asset/?id=20626798" | |
| 264 | f.TextureId = "http://www.roblox.com/asset/?id=20626793" | |
| 265 | f.Scale = Vector3.new(15,15,15) | |
| 266 | s = Instance.new("Seat")
| |
| 267 | s.Parent = a | |
| 268 | s.Position = b.Position + Vector3.new(0,1,0) | |
| 269 | vip.Character = a | |
| 270 | a:MoveTo(Vector3.new(10,12,0)) | |
| 271 | vip.Character.Humanoid.WalkSpeed = 100 | |
| 272 | bb = Instance.new("BodyForce")
| |
| 273 | bb.Parent = vip.Character.Torso | |
| 274 | mass = b:GetMass() | |
| 275 | cmass = c:GetMass() | |
| 276 | smass = s:GetMass() | |
| 277 | force = Vector3.new(0,mass*196.27,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*30,0) | |
| 278 | bb.force = force | |
| 279 | sgs = Instance.new("ScreenGui")
| |
| 280 | sgs.Parent = vip.PlayerGui | |
| 281 | sgs.Name = "test" | |
| 282 | opts1 = Instance.new("TextButton")
| |
| 283 | opts1.Parent = sgs | |
| 284 | opts1.Position = UDim2.new(0.50,0,0.9,0) | |
| 285 | opts1.Size = UDim2.new(0,40,0,40) | |
| 286 | opts1.BackgroundTransparency = .25 | |
| 287 | opts1.Text = "Land" | |
| 288 | opts2 = Instance.new("TextButton")
| |
| 289 | opts2.Parent = sgs | |
| 290 | opts2.Position = UDim2.new(0.50,0,0.95,0) | |
| 291 | opts2.Size = UDim2.new(0,40,0,40) | |
| 292 | opts2.BackgroundTransparency = .25 | |
| 293 | opts2.Text = "Fly" | |
| 294 | opts3 = Instance.new("TextButton")
| |
| 295 | opts3.Parent = sgs | |
| 296 | opts3.Position = UDim2.new(0.47,0,0.95,0) | |
| 297 | opts3.Size = UDim2.new(0,40,0,40) | |
| 298 | opts3.BackgroundTransparency = .25 | |
| 299 | opts3.Text = "+" | |
| 300 | opts4 = Instance.new("TextButton")
| |
| 301 | opts4.Parent = sgs | |
| 302 | opts4.Position = UDim2.new(0.53,0,0.95,0) | |
| 303 | opts4.Size = UDim2.new(0,40,0,40) | |
| 304 | opts4.BackgroundTransparency = .25 | |
| 305 | opts4.Text = "-" | |
| 306 | function Clicks() | |
| 307 | bb.Parent = c | |
| 308 | end | |
| 309 | function Clicks1() | |
| 310 | bb.Parent = game.Lighting | |
| 311 | end | |
| 312 | function Clicks2() | |
| 313 | bb.force = bb.force + Vector3.new(0,500,0) | |
| 314 | end | |
| 315 | function Clicks3() | |
| 316 | bb.force = bb.force - Vector3.new(0,500,0) | |
| 317 | end | |
| 318 | opts4.MouseButton1Down:connect(Clicks3) | |
| 319 | opts3.MouseButton1Down:connect(Clicks2) | |
| 320 | opts1.MouseButton1Down:connect(Clicks1) | |
| 321 | opts2.MouseButton1Down:connect(Clicks) | |
| 322 | function onChatted(msg) | |
| 323 | if (string.sub(msg,1,9) == "flyspeed/") then | |
| 324 | t = string.sub(msg,10,1000) | |
| 325 | e.WalkSpeed = t | |
| 326 | end | |
| 327 | if (string.sub(msg,1,13) == "adjustweight/") then | |
| 328 | t = string.sub(msg,14,1000) | |
| 329 | bb.force = bb.force + Vector3.new(0,t,0) | |
| 330 | end | |
| 331 | if (string.sub(msg,1,12) == "resetweight/") then | |
| 332 | t = string.sub(msg,13,1000) | |
| 333 | bb.force = force | |
| 334 | end | |
| 335 | if (string.sub(msg,1,6) == "hover/") then | |
| 336 | t = string.sub(msg,13,1000) | |
| 337 | force = Vector3.new(0,mass*196.177,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*196.21,0) | |
| 338 | bb.force = force | |
| 339 | end | |
| 340 | if (string.sub(msg,1,7) == "rhover/") then | |
| 341 | t = string.sub(msg,13,1000) | |
| 342 | force = Vector3.new(0,mass*196.26,0) + Vector3.new(0,cmass*196,0) + Vector3.new(0,smass*30,0) | |
| 343 | bb.force = force | |
| 344 | end | |
| 345 | if msg == "b" then | |
| 346 | drop = true | |
| 347 | end | |
| 348 | end | |
| 349 | vip.Chatted:connect(onChatted) | |
| 350 | while true do | |
| 351 | if drop == true then | |
| 352 | bomb = Instance.new("Part")
| |
| 353 | bomb.Shape = "Ball" | |
| 354 | bomb.Parent = workspace | |
| 355 | bomb.Position = b.Position + Vector3.new(0,-5,0) | |
| 356 | function onTouch(part) | |
| 357 | if part.Parent ~= a then | |
| 358 | bbx = Instance.new("Explosion")
| |
| 359 | bbx.Parent = game.workspace | |
| 360 | bbx.BlastRadius = 12312756 | |
| 361 | bbx.Position = bomb.Position | |
| 362 | bomb:remove() | |
| 363 | end | |
| 364 | end | |
| 365 | bomb.Touched:connect(onTouch) | |
| 366 | end | |
| 367 | drop = false | |
| 368 | wait() | |
| 369 | end | |
| 370 | while true do | |
| 371 | wait(1) | |
| 372 | end | |
| 373 | end | |
| 374 | function Click14() | |
| 375 | opta = Instance.new("TextButton")
| |
| 376 | opta.Parent = sg | |
| 377 | opta.Position = UDim2.new(0,120,0,240) | |
| 378 | opta.Size = UDim2.new(0,40,0,40) | |
| 379 | opta.BackgroundTransparency = .25 | |
| 380 | opta.Text = "Lighting" | |
| 381 | opt1a = Instance.new("TextButton")
| |
| 382 | opt1a.Parent = sg | |
| 383 | opt1a.Position = UDim2.new(0,120,0,280) | |
| 384 | opt1a.Size = UDim2.new(0,40,0,40) | |
| 385 | opt1a.BackgroundTransparency = .25 | |
| 386 | opt1a.Text = "nil" | |
| 387 | opta1 = Instance.new("TextButton")
| |
| 388 | opta1.Parent = sg | |
| 389 | opta1.Position = UDim2.new(0,120,0,320) | |
| 390 | opta1.Size = UDim2.new(0,40,0,40) | |
| 391 | opta1.BackgroundTransparency = .25 | |
| 392 | opta1.Text = "Workspace" | |
| 393 | cancel = Instance.new("TextButton")
| |
| 394 | cancel.Parent = sg | |
| 395 | cancel.Position = UDim2.new(0,120,0,360) | |
| 396 | cancel.Size = UDim2.new(0,40,0,40) | |
| 397 | cancel.BackgroundTransparency = .25 | |
| 398 | cancel.Text = "Cancel" | |
| 399 | function Clicksa() | |
| 400 | Player.Character.Parent = game.Lighting | |
| 401 | end | |
| 402 | function Clicksa1() | |
| 403 | Player.Character.Parent = nil | |
| 404 | end | |
| 405 | function unHide() | |
| 406 | Player.Character.Parent = game.workspace | |
| 407 | end | |
| 408 | function cancels() | |
| 409 | opta1:remove() | |
| 410 | opta:remove() | |
| 411 | opt1a:remove() | |
| 412 | cancel:remove() | |
| 413 | end | |
| 414 | opta1.MouseButton1Down:connect(unHide) | |
| 415 | opta.MouseButton1Down:connect(Clicksa) | |
| 416 | opt1a.MouseButton1Down:connect(Clicksa1) | |
| 417 | cancel.MouseButton1Down:connect(cancels) | |
| 418 | end | |
| 419 | function Click15() | |
| 420 | Player.Character.Head.Anchored = true | |
| 421 | Player.Character.Head.Transparency = 0.4 | |
| 422 | end | |
| 423 | function Click16() | |
| 424 | Player.Character.Head.Anchored = false | |
| 425 | Player.Character.Head.Transparency = 0 | |
| 426 | end | |
| 427 | opt16.MouseButton1Down:connect(Click16) | |
| 428 | opt15.MouseButton1Down:connect(Click15) | |
| 429 | opt14.MouseButton1Down:connect(Click14) | |
| 430 | opt12.MouseButton1Down:connect(Click13) | |
| 431 | opt11.MouseButton1Down:connect(Click12) | |
| 432 | opt10.MouseButton1Down:connect(Click11) | |
| 433 | opt9.MouseButton1Down:connect(Click10) | |
| 434 | opt8.MouseButton1Down:connect(Click9) | |
| 435 | opt7.MouseButton1Down:connect(Click8) | |
| 436 | opt6.MouseButton1Down:connect(Click7) | |
| 437 | opt4.MouseButton1Down:connect(Click3) | |
| 438 | opt3.MouseButton1Down:connect(Click5) | |
| 439 | opt.MouseButton1Down:connect(Click2) | |
| 440 | opt5.MouseButton1Down:connect(Click6) | |
| 441 | opt2 = Instance.new("TextButton")
| |
| 442 | opt2.Parent = sg | |
| 443 | opt2.Position = UDim2.new(0,40,0,120) | |
| 444 | opt2.Size = UDim2.new(0,40,0,40) | |
| 445 | opt2.BackgroundTransparency = .25 | |
| 446 | opt2.Text = "FFON" | |
| 447 | opt2.MouseButton1Down:connect(Click4) | |
| 448 | end | |
| 449 | box.MouseButton1Down:connect(Click) | |
| 450 | end | |
| 451 | ||
| 452 | reload = false | |
| 453 | end | |
| 454 | end | |
| 455 | wait() | |
| 456 | end | |
| 457 | while true do | |
| 458 | wait(1) | |
| 459 | end |