Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lol.Touched:connect(function(h)
- if script.Parent.Sound.Playing == true then
- if h.Parent == player.Character:findFirstChild("Humanoid")~= nil then
- h.Parent.UpperTorso.Velocity = Vector3.new(30,30,30)
- h.Parent.Humanoid.WalkSpeed = 0
- h.Parent.LowerTorso.Velocity = Vector3.new(30,30,30)
- for i,v in pairs (h.Parent:GetChildren()) do
- if v:IsA('Tool') then
- for _,s in pairs (v:GetChildren()) do
- if s:IsA('Script') or s:IsA('LocalScript') then
- s.Disabled = true
- wait(.7)
- s.Disabled = false
- h.Parent.Humanoid.WalkSpeed = 16
- end
- end
- end
- end
- end
- end
- end)
- mol.Touched:connect(function(h)
- if script.Parent.Sound2.Playing == true then
- if h.Parent == player.Character:findFirstChild("Humanoid")~= nil then
- h.Parent.UpperTorso.Velocity = Vector3.new(30,30,30)
- h.Parent.LowerTorso.Velocity = Vector3.new(30,30,30)
- for i,v in pairs (h.Parent:GetChildren()) do
- if v:IsA('Tool') then
- for _,s in pairs (v:GetChildren()) do
- if s:IsA('Script') or s:IsA('LocalScript') then
- s.Disabled = true
- h.Parent.Humanoid.WalkSpeed = 0
- wait(.7)
- s.Disabled = false
- h.Parent.Humanoid.WalkSpeed = 16
- end
- end
- end
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement