Поделиться в MAX

How to make Rp game in roblox (Roblox studio)

Teleport script: local TeleportPart1 = script.Parent.TeleportPart1 local TeleportPart2 = script.Parent.TeleportPart2 TeleportPart1.Touched:Connect(function(hit) local w = hit.Parent:FindFirstChild(«HumanoidRootPart») if w then w.CFrame = TeleportPart2.CFrame + Vector3.new(0, 5, 0) TeleportPart2.CanTouch = false wait(1) TeleportPart2.CanTouch = true end end) TeleportPart2.Touched:Connect(function(hit) local w = hit.Parent:FindFirstChild(«HumanoidRootPart») if w then w.CFrame = TeleportPart1.CFrame + Vector3.new(0, 5, 0) TeleportPart1.CanTouch = false wait(1) TeleportPart1.CanTouch = true end end) GuiScript: script.Parent.FocusLost:connect(function(enter) if enter then v = game.Players.LocalPlayer for a, mod in pairs(v.Character:children()) do if mod:findFirstChild(«NameTag») then v.Character.Head.Transparency = 0 mod:Destroy() end end local char = v.Character local mod = Instance.new(«Model», char) mod.Name = script.Parent.Text local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new(«Humanoid», mod) hum.Name = «NameTag» hum.MaxHealth = 0 hum.Health = 0 local weld = Instance.new(«Weld», cl) weld.Part0 = cl weld.Part1 = char.Head char.Head.Transparency = 1 end end)

0/0


0/0

0/0

0/0

0/0