|
| 11 Feb 2016 06:00 AM |
I have tried "player.Character.Torso" it did not work
local serverstorage = game:GetService('ServerStorage')
game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg, plrchat) local torso = player.Character.Torso local segway = serverstorage:FindFirstChild("HandlessSegway") if msg == "spawn s" or msg == "spawn se" or msg == "spawn seg" or msg == "spawn segw" or msg == "spawn segwa" or msg == "spawn segway" then segway:Clone().Parent = game.Workspace end end) end)
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 06:00 AM |
It is a model and cannot be welded, so there is not position value
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 06:21 AM |
Parent it to Characcter instead and use SetPrimaryPartCFrame.
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 06:25 AM |
Can you please edit the script the way it should be?
|
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 06:28 AM |
Sure thing.
Oh wait, CFrames are censored now. Of course. That makes sense why they would do that.
pastebin/wc88Hqjj
|
|
|
| Report Abuse |
|
|
| |
|
|
| 11 Feb 2016 06:42 AM |
Use this
While thruse do
game.players.playeradded:connect(function(plr) local stats = Instance.new('IntValue', plr) stats.Name = 'leaderstats' local experience = Instance.new('IntValue', stats) experience.Name = 'EXP' experience.Value = 0 local level = Instance.new('IntValue', stats) level.Name = 'Level' level.Value = 0
game.players.playeradded:connect(function(plr) local stats = Instance.new('IntValue', plr) stats.Name = 'leaderstats' local experience = Instance.new('IntValue', stats) experience.Name = 'EXP' experience.Value = 0 local level = Instance.new('IntValue', stats) level.Name = 'Level' level.Value = 0
experience.Changed:Connect(function() level.Value = math.floor(experience.Value / 1000) end) While thruse do local player = game.Players.LocalPlayer local leaderstats = player:WaitForChild('leaderstats') local level = leaderstats:WaitForChild('Level') local xp = player:WaitForChild('EXP') level.Changed:connect(function() if xp.Value < 1000 then level.Value = 1 end experience.Changed:Connect(function() level.Value = math.floor(experience.Value / 1000) end) While thruse do local player = game.Players.LocalPlayer local leaderstats = player:WaitForChild('leaderstats') local level = leaderstats:WaitForChild('Level') local xp = player:WaitForChild('EXP') level.Changed:connect(function() if xp.Value < 1000 then level.Value = 1 end |
|
|
| Report Abuse |
|
|
|
| 11 Feb 2016 06:48 AM |
CFrame.new(0,0,69)
ran off on the plug twyce R$2,361 Tx23 |
|
|
| Report Abuse |
|
|