Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- local char = plr.Character
- local HumanoidRootPart=char.HumanoidRootPart
- local ult = true
- print'Ultra Instinct Activated...'
- local part1 = Instance.new("Part",workspace)
- part1.Size = Vector3.new(4,3,4)
- part1.Transparency = 1
- part1.Material = "SmoothPlastic"
- part1.Name = "ultra"
- part1.CanCollide = false
- if workspace.ultra then
- part1.Touched:connect(function(hit)
- if ult == true then
- if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= plr.Name then
- HumanoidRootPart.CFrame = HumanoidRootPart.CFrame * CFrame.new(math.random(-2,10),.1,math.random(-2,10))
- elseif hit:IsA("Part") and hit.Name ~= "Base" and not hit.Parent:FindFirstChildOfClass("Humanoid") and not hit.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- hit:Destroy()
- end
- end
- end)
- end
- plr:GetMouse().KeyDown:Connect(function(key)
- if key == "[" then
- if ult == true then
- print'off'
- ult = false
- elseif ult == false then
- print'on'
- ult = true
- end
- end
- end)
- --[[for i,v in pairs(char:children()) do
- if v:IsA("ParticleEmitter") then
- v.LockedToPart = true
- end
- end]]
- game:GetService('RunService').RenderStepped:connect(function()
- part1.CFrame = HumanoidRootPart.CFrame * CFrame.new(0,3,0)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement