|
| 05 Oct 2014 12:45 AM |
my super jump script make me fly when someone resets
wait(2)
gpid = 180937633 --Game Pass ID
GPS = Game:GetService("GamePassService") function respawned(char) player = game.Players:FindFirstChild(char.Name) print("Respawned") if char:FindFirstChild("Head") ~= nil then print("It's a Player!") if GPS:PlayerHasPass(player, gpid) then print("Has GPID")
p= game.Players:GetChildren() for i= 1, #p do b = Instance.new("BodyForce") b.Parent = p[i].Character.Torso b.force = Vector3.new(0,3000,0)
end end else print("No GPID") end end
game.Workspace.ChildAdded:connect(respawned)
|
|
|
| Report Abuse |
|
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 05 Oct 2014 12:50 AM |
Nice free model btw.
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) if game:GetService('GamePassService'):PlayerHassPass(plr,180937633) then print("Has the gamepass") local b = Instance.new("BodyForce",char.Torso);b.force = Vector3.new(0,3000,0) else print("No gamepass") end end) end) |
|
|
| Report Abuse |
|
|
|
| 05 Oct 2014 12:52 AM |
| i put 2 scripts together haha and thanks ^-^ |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Oct 2014 01:08 AM |
01:04:44.015 - PlayerHassPass is not a valid member of GamePassService 01:04:44.017 - Script 'Workspace.Gamepass SuperJump', Line 3 01:04:44.018 - Stack End |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Oct 2014 01:24 AM |
| it still makes me fly when another player joins |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 05 Oct 2014 05:37 AM |
game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(char) if game:GetService('GamePassService'):PlayerHasPass(plr,180937633) then print("Has the gamepass") local b = Instance.new("BodyForce",char.Torso);b.force = Vector3.new(0,3000,0) else print("No gamepass") end end) end) |
|
|
| Report Abuse |
|
|