Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How Can I make my Teleport;Kamui script work?

Asked by 10 years ago

Since The ROBLOX Animation Update came out, Most Of My Hopperbin Tools Won't Work, Please Help Me. Here's The Script:

local hopper = script.Parent lasso = false enabled = true function Spin() vPlayer = hopper.Parent.Parent vChar = vPlayer.Character hum = vChar.Humanoid PH = player.Character.Head
PT = player.Character.Torso PRA = player.Character:FindFirstChild("Right Arm")
PRL = player.Character:FindFirstChild("Right Leg")
PLA = player.Character:FindFirstChild("Left Arm") PLL = player.Character:FindFirstChild("Left Leg") x = script.Value.Value x = 0 while 100 > x do hum.Parent.Torso.CFrame = hum.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1) PH.Transparency = PH.Transparency + 0.01 PT.Transparency = PT.Transparency + 0.01 PRA.Transparency = PRA.Transparency + 0.01 PRL.Transparency = PRA.Transparency + 0.01 PLA.Transparency = PLA.Transparency + 0.01 PLL.Transparency = PLL.Transparency + 0.01 hum.MaxHealth = hum.MaxHealth + 1 hum.Health = hum.MaxHealth wait(0.001) x = x + 1 end end function UnSpin() vPlayer = hopper.Parent.Parent vChar = vPlayer.Character hum = vChar.Humanoid PH = player.Character.Head
PT = player.Character.Torso PRA = player.Character:FindFirstChild("Right Arm")
PRL = player.Character:FindFirstChild("Right Leg")
PLA = player.Character:FindFirstChild("Left Arm") PLL = player.Character:FindFirstChild("Left Leg") x = script.Value.Value x = 0 while 100 > x do hum.Parent.Torso.CFrame = hum.Parent.Torso.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(0), 0.1) PH.Transparency = PH.Transparency - 0.01 PT.Transparency = PT.Transparency - 0.01 PRA.Transparency = PRA.Transparency - 0.01 PRL.Transparency = PRA.Transparency - 0.01 PLA.Transparency = PLA.Transparency - 0.01 PLL.Transparency = PLL.Transparency - 0.01 hum.MaxHealth = hum.MaxHealth - 1 hum.Health = hum.MaxHealth wait(0.001) x = x + 1 end end function Reset(mouse) if not enabled then return end enabled = false vPlayer = hopper.Parent.Parent player = game.Players.LocalPlayer vChar = vPlayer.Character hum = vChar.Humanoid tar = mouse.Hit.p warp = hopper.Teleport Head = warp.Head:Clone() OH = warp.Head:Clone() vChar.Torso.Anchored = true Head.Parent = Workspace Head.Script.Disabled = false Head.CFrame = hum.Parent.Torso.CFrame Spin() taradd = Vector3.new(0,3,0) tar = tar + taradd OH.Parent = Workspace OH.CFrame = CFrame.new(tar) OH.Script.Disabled = false vChar.Torso.CFrame = CFrame.new(tar) UnSpin() Head:Remove() OH:Remove() vChar.Torso.Anchored = false player.Character.Head.Transparency = 0
player.Character.Torso.Transparency = 0 player.Character:FindFirstChild("Right Arm").Transparency = 0 player.Character:FindFirstChild("Right Leg").Transparency = 0
player.Character:FindFirstChild("Left Arm").Transparency = 0 player.Character:FindFirstChild("Left Leg").Transparency = 0 wait(3) enabled = true end

function onSelected(mouse) mouse.Icon = "http://www.roblox.com/asset/?id=21315275" mouse.Button1Down:connect(function() Reset(mouse) end) end

hopper.Selected:connect(onSelected

1 answer

Log in to vote
0
Answered by 10 years ago

Most hopperbins broke So use a local script and KeyDown set it in Lightning get a admin tool giver Edit it to give you the script.

Ad

Answer this question