Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- warn[[
- --projor22
- --Urchin
- keys:
- q-reposition
- z-teleport
- x-attack
- p-reset
- ]]
- wait()
- player = owner
- local size = Vector3.new(28, 28, 28)
- local scale = Vector3.new(7.5, 7.5, 7.5)
- local NAME="Urchin >"..math.random()
- local wa = "Végtzetez"
- local sa="HumanoidRootPart"
- local MOD = Instance.new("Model",workspace) MOD.Name=NAME
- local ball = Instance.new("Part",MOD) ball.Shape=Enum.PartType.Ball ball.Name=sa ball.Transparency=1 ball.Material=Enum.Material.ForceField ball.Size=size ball.Massless=true
- local fakeball = Instance.new("Part",MOD) fakeball.Name=wa fakeball.Transparency=0 fakeball.Reflectance=1 fakeball.Size = ball.Size + Vector3.new(7,7,7) fakeball.Material=Enum.Material.Glass fakeball.Shape=Enum.PartType.Ball
- local mesh = Instance.new("SpecialMesh",fakeball) mesh.MeshId="http://www.roblox.com/Asset/?id=9982590" mesh.Name="Spí" mesh.Scale=scale
- local attach0 = Instance.new("Attachment",ball) local attach1 = Instance.new("Attachment",fakeball)
- local sock = Instance.new("BallSocketConstraint",MOD) sock.Attachment0=attach0 sock.Attachment1=attach1 sock.Name="ñáæén"
- local oldpos = nil
- oldpos=ball
- local attack=false
- refitter = true
- local drcoomer = {"rbxassetid://4833964587","rbxassetid://6334642411"}
- function CLIENT()
- NLS([[
- local player = game:GetService("Players").LocalPlayer
- mouse = player:GetMouse()
- local hum = Instance.new("Humanoid",player.Character) hum.MaxHealth = -300 hum.Health= -300 hum.Name=" " hum.BreakJointsOnDeath=false hum.RequiresNeck=false hum.WalkSpeed=40 hum.JumpPower=100
- workspace.CurrentCamera:Destroy()
- wait()
- workspace.CurrentCamera.CameraSubject = hum
- workspace.CurrentCamera.CameraType = "Custom"
- local okre = player.Backpack:WaitForChild("ó")
- local reset = player.Backpack:WaitForChild("réßéþ")
- local hello = player.Backpack:WaitForChild("funü")
- local tp = player.Backpack:WaitForChild("12")
- local at = player.Backpack:WaitForChild("rote")
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'z' then
- tp:FireServer(mouse.Hit.p)
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'p' then
- okre:FireServer("íóúáðññø")
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'q' then
- reset:FireServer("rótél")
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'v' then
- hello:FireServer("HAHa")
- end
- end)
- mouse.KeyDown:connect(function(Key)
- Key = Key:lower()
- if Key == 'x' then
- at:FireServer(mouse.Target)
- end
- end)
- ]],player.Backpack)
- end
- local character = player.Character
- if character then
- local hea =character:FindFirstChild("Head")
- if hea then
- ball.Position = hea.Position fakeball.Position = hea.Position
- player.Character=MOD
- CLIENT()
- else
- player.Character=MOD
- CLIENT()
- end
- end
- function touch()
- local spikemodel = workspace:FindFirstChild(NAME)
- if spikemodel then
- local spike = spikemodel:FindFirstChild(wa)
- if spike then
- spike.Touched:Connect(function(hit)
- if hit and hit.Parent then
- if hit.Parent:FindFirstChildOfClass("Humanoid") then
- for _,v in pairs(hit.Parent:GetDescendants()) do
- if v:IsA("Motor6D") then
- v.Part0=nil
- v.Part1=nil
- v.Enabled=false
- end
- end
- end
- end
- end)
- end
- end
- end
- touch()
- function sound()
- local spikemodel = workspace:FindFirstChild(NAME)
- if spikemodel then
- local spike = spikemodel:FindFirstChild(wa)
- if spike then
- local Sound = Instance.new("Sound",spike) Sound.SoundId="rbxassetid://13061810"
- Sound:Play()
- Sound.Volume=8
- Sound.Ended:Connect(function()
- Sound.PlaybackSpeed=math.random(7,14)/10
- wait(math.random(1,4))
- Sound:Play()
- end)
- end
- end
- end
- sound()
- function Kill(die)
- die:BreakJoints()
- for i,g in pairs(die:GetDescendants()) do
- if g:IsA("BasePart") then
- local lol = nil
- lol = g
- lol.Color = g.Color
- lol.Transparency=g.Transparency
- lol.Material=g.Material
- g.CanCollide=false
- local died = Instance.new("FlagStand",workspace)
- local check = player.Character.HumanoidRootPart:FindFirstChild("mp3")
- if check then
- check.Volume = math.random(1,3)
- check:Play()
- else
- local sound = Instance.new("Sound",player.Character.HumanoidRootPart)
- sound.SoundId = "rbxassetid://1571353313"
- sound.Volume = math.random(1,3)
- -- sound.PlayOnRemove=true
- sound.Name="mp3"
- end
- local bp = Instance.new("BodyVelocity",lol)
- bp.MaxForce = Vector3.new(0,math.huge,0)
- lol.Transparency=0
- local mesher = lol:FindFirstChildOfClass("SpecialMesh")
- if mesher then
- mesher.Parent=died
- end
- g:Destroy()
- died.CFrame=lol.CFrame
- -- local particle1 = Instance.new("FlagStand",died) particle1.Size=Vector3.new(math.random(),math.random(),math.random()) particle1.Color=Color3.new() particle1.Transparency=.6 particle1.CFrame=died.CFrame
- died.Size=lol.Size
- died.Material=lol.Material
- died.Transparency=lol.Transparency
- died.BrickColor=lol.BrickColor
- died.Name= "Shattered "..lol.Name
- end
- end
- end
- --remotes
- local okrefit = Instance.new("RemoteEvent",player.Backpack) okrefit.Name="ó"
- local reset = Instance.new("RemoteEvent",player.Backpack) reset.Name="réßéþ"
- local hello = Instance.new("RemoteEvent",player.Backpack) hello.Name="funü"
- local att = Instance.new("RemoteEvent",player.Backpack) att.Name="rote"
- local TP = Instance.new("RemoteEvent",player.Backpack) TP.Name="12"
- TP.OnServerEvent:Connect(function(aerrt, poss)
- ball.Position = poss fakeball.Position = poss
- end)
- okrefit.OnServerEvent:Connect(function(yes, ths)
- refit()
- end)
- reset.OnServerEvent:Connect(function(ok, Then)
- --refitter=false
- player:LoadCharacter() oldpos = player.Character.Head
- --wait()
- --refit()
- --refitter=true
- end)
- att.OnServerEvent:Connect(function(Aret, Part)
- if Part.Parent.ClassName == "Model" then
- Kill(Part.Parent)
- elseif Part.Parent.Parent.ClassName == "Model" then
- Kill(Part.Parent.Parent)
- end
- end)
- hello.OnServerEvent:Connect(function(Hello, gordon)
- local checking = player.Character.HumanoidRootPart:FindFirstChild("dr")
- if checking then
- checking.SoundId=drcoomer[math.random(1,#drcoomer)]
- checking:Play()
- else
- local coomer = Instance.new("Sound",player.Character.HumanoidRootPart)
- coomer.SoundId="rbxassetid://4833964587"
- coomer.Volume=5
- coomer:Play()
- coomer.Name="dr"
- end
- end)
- --remotes
- function refit()
- local wot = game.Players:FindFirstChild(player.Name)
- if wot then
- name="Urchin >"..math.random()
- local mod2 = Instance.new("Model",workspace) mod2.Name=NAME
- local ball2 = Instance.new("Part",mod2) ball2.Shape=Enum.PartType.Ball ball2.Name=sa ball2.Transparency=1 ball2.Material=Enum.Material.ForceField ball2.Size=size ball2.Massless=true
- local fakeball2 = Instance.new("Part",mod2) fakeball2.Name=wa fakeball2.Size = ball2.Size + Vector3.new(7,7,7) fakeball2.Transparency=0 fakeball2.Reflectance=1 fakeball2.Material=Enum.Material.Glass fakeball2.Shape=Enum.PartType.Ball
- local mesh2 = Instance.new("SpecialMesh",fakeball2) mesh2.MeshId="http://www.roblox.com/Asset/?id=9982590" mesh2.Name="Spí" mesh2.Scale=scale
- local attach02 = Instance.new("Attachment",ball2) local attach12 = Instance.new("Attachment",fakeball2)
- local sock2 = Instance.new("BallSocketConstraint",mod2) sock2.Attachment0=attach02 sock2.Attachment1=attach12 sock2.Name="ñáæén"
- ball2.CFrame = oldpos.CFrame fakeball2.CFrame=oldpos.CFrame
- player.Character=mod2
- CLIENT()
- oldpos=ball2
- touch()
- sound()
- --remotes
- local reset2 = Instance.new("RemoteEvent",player.Backpack) reset2.Name="réßéþ"
- local okrefit2 = Instance.new("RemoteEvent",player.Backpack) okrefit2.Name="ó"
- local hello2 = Instance.new("RemoteEvent",player.Backpack) hello2.Name="funü"
- local att2 = Instance.new("RemoteEvent",player.Backpack) att2.Name="rote"
- local TP2 = Instance.new("RemoteEvent",player.Backpack) TP2.Name="12"
- TP2.OnServerEvent:Connect(function(aerrt, pos)
- ball2.Position = pos fakeball2.Position = pos
- end)
- okrefit2.OnServerEvent:Connect(function(yes, ths)
- refit()
- end)
- att2.OnServerEvent:Connect(function(Aret, Part)
- if Part.Parent.ClassName == "Model" then
- Kill(Part.Parent)
- elseif Part.Parent.Parent.ClassName == "Model" then
- Kill(Part.Parent.Parent)
- end
- end)
- reset2.OnServerEvent:Connect(function(ok, Then)
- refitter=false
- player:LoadCharacter()
- oldpos = player.Character.Head
- wait()
- refit()
- refitter=true
- end)
- hello2.OnServerEvent:Connect(function(Hello, gordon)
- local checking2 = player.Character.HumanoidRootPart:FindFirstChild("dr")
- if checking2 then
- checking2.SoundId=drcoomer[math.random(1,#drcoomer)]
- checking2:Play()
- else
- local coomer2 = Instance.new("Sound",player.Character.HumanoidRootPart)
- coomer2.SoundId="rbxassetid://4833964587"
- coomer2.Volume=5
- coomer2:Play()
- coomer2.Name="dr"
- end
- end)
- --remotes
- end
- end
- local RunService = game:GetService("RunService")
- local RATE_PER_SECOND = 2
- RunService.Heartbeat:Connect(function(step)
- local increment = RATE_PER_SECOND * step
- if refitter == true then
- local model = workspace:FindFirstChild(NAME)
- if model then
- local ba11 = model:FindFirstChild(wa)
- if ba11 then
- ba11.Color=Color3.new(1, 1, 1) ba11.Material=Enum.Material.Glass
- else
- refit()
- end
- local t = model:FindFirstChild(sa)
- if t then
- else
- refit()
- end
- else
- refit()
- end
- end
- end)
- while wait() do
- wait(1)
- local spikemod = workspace:FindFirstChild(NAME)
- if spikemod then
- local spke = spikemod:FindFirstChild(wa)
- if spke then
- for i = 1,30 do
- wait()
- spke.Transparency=i/30
- end
- wait(1)
- for i = 1,30 do
- wait()
- spke.Transparency=spke.Transparency-i/30
- end
- wait(1)
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement