Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait()
- player = owner
- Character=player.Character
- local run = game:GetService("RunService")
- local tweenservice = game:GetService("TweenService")
- local debris = game:GetService("Debris")
- local remname='>>'..player.Name..'<<'
- local timeposition=0
- timepos=false
- music=nil
- local movesmoothing=.2
- local valuename='>>>'..player.Name..'<<<'
- position = Character:FindFirstChildOfClass('Part')
- if position then
- script.Parent=nil
- head = Instance.new("Part",workspace) head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- head.Size=Vector3.new(2,1,1) head.Anchored=true head.Color=Color3.new(0, 0, 0) head.Material=Enum.Material.Neon head.CanTouch=false head.Transparency=0 head.Reflectance=-30
- mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name=string.char(math.random(1,150))
- local rootpart = Instance.new("NegateOperation") rootpart.Anchored=true rootpart.Position=position.Position rootpart.Size=Vector3.new(0,0,0) rootpart.Locked=true
- rootpart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local torsoname = string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local torso = Instance.new("Part") torso.CFrame = rootpart.CFrame torso.Material='Neon' torso.Color=Color3.new(0, 0, 0) torso.Transparency=0 torso.Size=Vector3.new(2,2,1) torso.Anchored=true torso.Name=torsoname torso.Parent=workspace torso.Reflectance=-30
- local rightarm = Instance.new("Part") rightarm.Material=Enum.Material.Neon rightarm.Size=Vector3.new(1, 2, 1) rightarm.Color=Color3.new() rightarm.Reflectance=-30 rightarm.CFrame=torso.CFrame rightarm.Parent=workspace rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local leftarm = Instance.new("Part") leftarm.Material=Enum.Material.Neon leftarm.Size=Vector3.new(1, 2, 1) leftarm.Color=Color3.new() leftarm.Reflectance=-30 leftarm.CFrame=torso.CFrame leftarm.Parent=workspace leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local leftleg = Instance.new("Part") leftleg.Material=Enum.Material.Neon leftleg.Size=Vector3.new(1, 2, 1) leftleg.Color=Color3.new() leftleg.Reflectance=-30 leftleg.CFrame=torso.CFrame leftleg.Parent=workspace leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local rightleg = Instance.new("Part") rightleg.Material=Enum.Material.Neon rightleg.Size=Vector3.new(1, 2, 1) rightleg.Color=Color3.new() rightleg.Reflectance=-30 rightleg.CFrame=torso.CFrame rightleg.Parent=workspace rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- local eye = Instance.new('Part',workspace) eye.Size=Vector3.new(0.074, 0.594, 0.289) eye.Material='Neon' eye.Anchored=true eye.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye.CanTouch=false eye.Locked=true
- local eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
- local eye1 = Instance.new('Part',workspace) eye1.Size=Vector3.new(0.074, 0.594, 0.289) eye1.Material='Neon' eye1.Anchored=true eye1.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye1.CanTouch=false eye1.Locked=true
- local eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
- local parttype = Enum.PartType:GetEnumItems()
- local brick = {Color3.new(),Color3.new(0.792157, 0.792157, 0.792157),Color3.new(0.45098, 0.45098, 0.45098),Color3.new(1, 1, 1)}
- function eat(g)
- if g then
- local ccc = g.Parent:FindFirstChildOfClass('Humanoid')
- if ccc then
- local mo = ccc.Parent
- mo:BreakJoints()
- local pl = game.Players:FindFirstChild(mo.Name)
- if pl then
- --[[
- for i,h in pairs(pl:GetDescendants()) do
- if h:IsA("RemoteEvent") then
- h:Destroy()
- end
- end
- ]]
- for i,j in pairs(pl:GetDescendants()) do
- if j:IsA("LocalScript") then
- j.Disabled=true
- end
- end
- for i,k in pairs(pl:GetDescendants()) do
- if k:IsA("Script") then
- k.Disabled=true
- end
- end
- end
- ccc:Destroy()
- for i,v in pairs(g.Parent:GetDescendants()) do
- if v:IsA("BasePart") then
- v.Parent=torso
- v.Material='Neon'
- v.Anchored=false
- v.Color = Color3.fromRGB(0, 0, 0)
- local info = TweenInfo.new(1.5)
- local goal = {}
- goal.Transparency = 1
- local t = tweenservice:Create(v,info,goal)
- t:Play()
- local bp = Instance.new("BodyVelocity",v)
- bp.MaxForce = Vector3.new(9e9,0,0)
- t.Completed:Connect(function()
- local info2 = TweenInfo.new(1.5)
- local goal2 = {}
- goal2.Size = Vector3.new(4,4,4)
- goal2.Transparency = 1
- local t2 = tweenservice:Create(v,info2,goal2)
- t2:Play()
- v:Destroy()
- end)
- end
- end
- else
- g.Parent=torso g.Material='Neon' g.Color = Color3.fromRGB(0, 0, 0)
- local info = TweenInfo.new(1.5)
- local goal = {}
- goal.Transparency = 1
- local t = tweenservice:Create(g,info,goal)
- t:Play()
- local bp = Instance.new("BodyVelocity",g)
- bp.MaxForce = Vector3.new(9e9,9e9,9e9)
- t.Completed:Connect(function()
- debris:AddItem(g,5)
- local info2 = TweenInfo.new(1.5)
- local goal2 = {}
- goal2.Size = Vector3.new(.1,.1,.1)
- goal2.Transparency = .8
- local t2 = tweenservice:Create(g,info2,goal2)
- t2:Play()
- g:Destroy()
- end)
- end
- end
- end
- music = Instance.new("Sound",torso) music.SoundId='rbxassetid://645716375' music.PlaybackSpeed=.98 music.Volume=4 music.Looped=true music:Play() music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- Character.Parent=nil
- local remotepart = Instance.new("Folder",workspace) remotepart.Name=remname
- position=rootpart
- function refit_Sound()
- music = Instance.new("Sound",torso) music.PlaybackSpeed=.98 music.SoundId='rbxassetid://645716375' music.TimePosition=timeposition music.Volume=4 music.Looped=true music:Play() music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_rempart()
- local remotepart = Instance.new("Folder",workspace) remotepart.Name=remname
- end
- function refit_rootpart()
- rootpart = Instance.new("NegateOperation") rootpart.Anchored=true rootpart.CFrame=position.CFrame rootpart.Size=Vector3.new(0,0,0) rootpart.Locked=true
- rootpart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_torso()
- local torsoname = string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- torso = Instance.new("Part") torso.CFrame = position.CFrame torso.Material='Neon' torso.Color=Color3.new(0, 0, 0) torso.Transparency=0 torso.Size=Vector3.new(2,2,1) torso.Anchored=true torso.Name=torsoname torso.Parent=workspace torso.Reflectance=-30
- timepos=true
- music = Instance.new("Sound",torso) music.PlaybackSpeed=.98 music.SoundId='rbxassetid://645716375' music.Volume=4 music.Looped=true music:Play() music.TimePosition=timeposition music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- timepos=false
- end
- function refit_Head()
- head = Instance.new("Part") head.CFrame=torso.CFrame head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150)) head.Parent=workspace
- head.Size=Vector3.new(2,1,1) head.Transparency=0 head.Reflectance=-30 head.Anchored=true head.Color=Color3.new(0, 0, 0) head.Material=Enum.Material.Neon head.CanTouch=false
- mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name="Mesh"
- end
- function refit_eyemesh()
- eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
- end
- function refit_eyemesh1()
- eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
- end
- function refit_eye()
- eye = Instance.new('Part',workspace) eye.Size=Vector3.new(0.074, 0.594, 0.289) eye.Material='Neon' eye.Anchored=true eye.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye.CanTouch=false eye.Locked=true
- eyemesh = Instance.new("SpecialMesh",eye) eyemesh.MeshType=Enum.MeshType.Sphere eye.CanCollide=false
- end
- function refit_eye1()
- eye1 = Instance.new('Part',workspace) eye1.Size=Vector3.new(0.074, 0.594, 0.289) eye1.Material='Neon' eye1.Anchored=true eye1.Name= string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye1.CanTouch=false eye1.Locked=true
- eyemesh1 = Instance.new("SpecialMesh",eye1) eyemesh1.MeshType=Enum.MeshType.Sphere eye1.CanCollide=false
- end
- function refit_right_arm()
- rightarm = Instance.new("Part") rightarm.Material=Enum.Material.Neon rightarm.Size=Vector3.new(1, 2, 1) rightarm.Color=Color3.new() rightarm.Reflectance=-30 rightarm.CFrame=torso.CFrame rightarm.Parent=workspace rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_left_arm()
- leftarm = Instance.new("Part") leftarm.Material=Enum.Material.Neon leftarm.Size=Vector3.new(1, 2, 1) leftarm.Color=Color3.new() leftarm.Reflectance=-30 leftarm.CFrame=torso.CFrame leftarm.Parent=workspace leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_left_leg()
- leftleg = Instance.new("Part") leftleg.Material=Enum.Material.Neon leftleg.Size=Vector3.new(1, 2, 1) leftleg.Color=Color3.new() leftleg.Reflectance=-30 leftleg.CFrame=torso.CFrame leftleg.Parent=workspace leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_right_leg()
- rightleg = Instance.new("Part") rightleg.Material=Enum.Material.Neon rightleg.Size=Vector3.new(1, 2, 1) rightleg.Color=Color3.new() rightleg.Reflectance=-30 rightleg.CFrame=torso.CFrame rightleg.Parent=workspace rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- function refit_mesh()
- mesh = Instance.new("SpecialMesh",head) mesh.MeshId="rbxassetid://1104623876" mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name="Mesh"
- end
- game.DescendantRemoving:Connect(function(Part)
- if Part==music then
- timepos=true
- refit_Sound()
- timepos=false
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==torso then
- refit_torso()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==leftleg then
- refit_left_leg()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==rightleg then
- refit_right_leg()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==rootpart then
- refit_rootpart()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==head then
- refit_Head()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==mesh then
- refit_mesh()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==rightarm then
- refit_right_arm()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==leftarm then
- refit_left_arm()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==eye then
- refit_eye()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==eye1 then
- refit_eye1()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==eyemesh then
- refit_eyemesh()
- end
- end)
- game.DescendantRemoving:Connect(function(Part)
- if Part==eyemesh1 then
- refit_eyemesh1()
- end
- end)
- function moveremote(remop)
- local remote = Instance.new("RemoteEvent",remop) remote.Name='direction'
- end
- game.DescendantAdded:Connect(function(mde)
- if mde==Character then
- Character.Parent=nil
- end
- end)
- local cama=nil
- function cameraremote(remop)
- cama = Instance.new("RemoteEvent",remop) cama.Name='camera'
- end
- run.Heartbeat:Connect(function()
- if timepos==false then
- timeposition=music.TimePosition
- end
- position=torso
- end)
- function locals()
- NLS([[
- script.Disabled=true
- player = game:GetService("Players").LocalPlayer
- mouse=player:GetMouse()
- run = game:GetService("RunService")
- playername= '>>'..player.Name..'<<'
- camera = workspace.CurrentCamera
- local up=false
- local down=false
- local Left=false
- local Right=false
- local forward=false
- local backward=false
- local shooting=false
- Speed=4
- local Cameraspeed=1
- local valuename='>>>'..player.Name..'<<<'
- mouse.KeyDown:Connect(function(kk)
- kk:lower()
- if kk=="w" then
- forward=true
- end
- end)
- mouse.KeyUp:Connect(function(kk)
- kk:lower()
- if kk=="w" then
- forward=false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- key:lower()
- if key=='s' then
- backward=true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key:lower()
- if key=='s' then
- backward=false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- key:lower()
- if key=='a' then
- Left=true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key:lower()
- if key=='a' then
- Left=false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- key:lower()
- if key=='d' then
- Right=true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key:lower()
- if key=='d' then
- Right=false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- key:lower()
- if key=='e' then
- up=true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key:lower()
- if key=='e' then
- up=false
- end
- end)
- mouse.KeyDown:Connect(function(key)
- key:lower()
- if key=='q' then
- down=true
- end
- end)
- mouse.KeyUp:Connect(function(key)
- key:lower()
- if key=='q' then
- down=false
- end
- end)
- mouse.Button1Down:Connect(function(kk)
- shooting=true
- end)
- mouse.Button1Up:Connect(function(kk)
- shooting=false
- end)
- mouse.KeyDown:Connect(function(kk)
- kk:lower()
- if kk=="x" then
- local remotepart = workspace:FindFirstChild(playername)
- if remotepart then
- local rem1 = remotepart:FindFirstChild('1')
- if rem1 then
- rem1:FireServer('refit')
- end
- end
- end
- end)
- mouse.KeyDown:Connect(function(kk)
- kk:lower()
- if kk=="m" then
- local remotepart = workspace:FindFirstChild(playername)
- if remotepart then
- local rem4 = remotepart:FindFirstChild('4')
- if rem4 then
- rem4:FireServer('nil')
- end
- end
- end
- end)
- mouse.KeyDown:Connect(function(kk)
- kk:lower()
- if kk=="z" then
- local remotepart = workspace:FindFirstChild(playername)
- if remotepart then
- local rem3 = remotepart:FindFirstChild('3')
- if rem3 then
- rem3:FireServer(mouse.Hit.p)
- end
- end
- end
- end)
- campart = Instance.new("NegateOperation") campart.Anchored=true campart.Size=Vector3.new(0,0,0) campart.CanCollide=false
- camera.CameraSubject=campart
- game.DescendantRemoving:Connect(function(Part)
- if Part==campart then
- camera = workspace.CurrentCamera
- campart = Instance.new("NegateOperation") campart.Anchored=true campart.Size=Vector3.new(0,0,0) campart.CanCollide=false
- camera.CameraSubject=campart
- campart.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- end
- end)
- local positin = '0,0,0'
- found=true
- run.RenderStepped:Connect(function()
- local remotepart = workspace:FindFirstChild(playername)
- if remotepart then
- local value = remotepart:FindFirstChild(valuename)
- if value then
- positin=value.Value
- campart.CFrame= campart.CFrame:Lerp(CFrame.new(value.Value),Cameraspeed)
- end
- end
- end)
- --part.CFrame = CFrame.new(part.Position, camera.CFrame.Position)
- run.RenderStepped:Connect(function()
- --positin=campart.Position
- local cam = workspace.CurrentCamera
- cam.CameraSubject=campart
- local camOrientation = cam.CFrame -cam.CFrame.Position
- local remotepart = workspace:FindFirstChild(playername)
- if remotepart then
- local move = remotepart:FindFirstChild('direction')
- if move then
- if shooting==true then
- local shootingrem = remotepart:FindFirstChild('2')
- if shootingrem then
- shootingrem:FireServer(mouse.Target)
- end
- end
- if forward==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,0,-Speed))
- end
- if backward==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,0,Speed))
- end
- if Left==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(-Speed,0,0))
- end
- if Right==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(Speed,0,0))
- end
- if up==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,Speed,0))
- end
- if down==true then
- move:FireServer(CFrame.new(positin)*camOrientation*CFrame.new(0,-Speed,0))
- end
- end
- end
- end)
- ]],player.PlayerGui)
- end
- locals()
- game.Players.PlayerAdded:Connect(function(plr)
- if plr.Name==player.Name then
- player=plr
- wait(1)
- locals()
- end
- end)
- remotem=false
- camera=false
- thingy=false
- leftright=-0.05
- updown=0
- fun = -.35
- aname = -.2
- Legs=-2
- twist=.26
- arms=-.1
- run.Heartbeat:Connect(function(HM)
- if thingy==false then
- if updown<-0.14 then
- thingy=true
- else
- updown=updown-0.002
- fun=fun-0.0007
- arms=arms-0.0024
- twist=twist+0.002
- Legs=Legs+0.001
- aname=aname-0.001
- --negative
- end
- end
- if thingy==true then
- if updown<0.14 then
- updown=updown+0.002
- fun=fun+0.0007
- arms=arms+0.0024
- twist=twist-0.002
- Legs=Legs-0.001
- aname=aname+0.001
- --positive
- else
- thingy=false
- end
- end
- end)
- local twist1 = {'-0.3','0','-0.06','0.2','0.3','0.49','0','0.34','-0.23','0.3','-0.15','0.24','0.42','0.1245'}
- local twist2 = {'0.2','0','0.06','0.47','0','-0.3','0.09','-0.3','0','0.13','0','0.15','-0.24','0.141'}
- change=10
- local d = 0
- local f = 0
- run.Heartbeat:Connect(function()
- change=math.random(-10,60)
- if change==10 then
- d=twist2[math.random(1,#twist2)]
- f=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- wait()
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- d=twist2[math.random(1,#twist2)]
- wait()
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- d=twist2[math.random(1,#twist2)]
- f=twist2[math.random(1,#twist2)]
- wait()
- d=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=0
- d=0
- end
- if change==20 then
- d=twist2[math.random(1,#twist2)]
- wait()
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- f=twist1[math.random(1,#twist1)]
- d=twist2[math.random(1,#twist2)]
- wait()
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- wait()
- d=twist2[math.random(1,#twist2)]
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- f=twist2[math.random(1,#twist2)]
- d=twist1[math.random(1,#twist1)]
- wait()
- d=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=0
- d=0
- end
- if change==40 then
- wait()
- f=twist2[math.random(1,#twist2)]
- wait()
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- wait()
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- d=twist2[math.random(1,#twist2)]
- wait()
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- d=twist1[math.random(1,#twist1)]
- d=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=0
- d=0
- end
- if change==-10 then
- d=twist2[math.random(1,#twist2)]
- f=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- wait()
- eye1.Color=Color3.new(1, 1, 1)
- eye.Color=Color3.new(1, 1, 1)
- d=twist1[math.random(1,#twist1)]
- wait()
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- d=twist2[math.random(1,#twist2)]
- d=twist2[math.random(1,#twist2)]
- wait()
- eye1.Color=Color3.new(1, 1, 1)
- eye.Color=Color3.new(1, 1, 1)
- f=twist2[math.random(1,#twist2)]
- wait()
- d=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=0
- d=0
- end
- if change==60 then
- d=twist2[math.random(1,#twist2)]
- wait()
- d=twist1[math.random(1,#twist1)]
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- wait()
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=twist1[math.random(1,#twist1)]
- wait()
- eye.Color=Color3.new(0.666667, 0, 0)
- eye1.Color=Color3.new(0.666667, 0, 0)
- d=twist1[math.random(1,#twist1)]
- wait()
- f=twist2[math.random(1,#twist2)]
- eye.Color=Color3.new(1, 1, 1)
- eye1.Color=Color3.new(1, 1, 1)
- f=0
- d=0
- end
- end)
- local rem1=false
- local rem2=false
- local rem3=false
- local rem4=false
- run.Heartbeat:Connect(function()
- local remotepart = workspace:FindFirstChild(remname)
- if remotepart then
- local positionvalue = remotepart:FindFirstChild(valuename)
- if positionvalue then
- positionvalue.Value=rootpart.Position
- else
- Instance.new("Vector3Value",remotepart).Name=valuename
- end
- --Instance.new("Vector3Value",remotepart)
- --positionvalue.Name='>>>'..player.Name..'<<<'
- local rem_1 = remotepart:FindFirstChild('1')
- if rem_1 then
- if rem1==true then
- rem1=false
- rem_1.OnServerEvent:Connect(function(pl,reset)
- if head~=nil then
- head:Destroy()
- else
- refit_Head()
- end
- if torso~=nil then
- torso:Destroy()
- else
- refit_torso()
- end
- if rightarm~=nil then
- rightarm:Destroy()
- else
- refit_right_arm()
- end
- if leftarm~=nil then
- leftarm:Destroy()
- else
- refit_left_arm()
- end
- if rightleg~=nil then
- rightleg:Destroy()
- else
- refit_right_leg()
- end
- if leftleg~=nil then
- leftleg:Destroy()
- else
- refit_left_leg()
- end
- if eye~=nil then
- eye:Destroy()
- else
- refit_eye()
- end
- if eye1~=nil then
- eye1:Destroy()
- else
- refit_eye1()
- end
- end)
- end
- else
- rem1=true
- local rem_one = Instance.new("RemoteEvent",remotepart) rem_one.Name='1'
- end
- local rem_2 = remotepart:FindFirstChild('2')
- if rem_2 then
- if rem2==true then
- rem2=false
- rem_2.OnServerEvent:Connect(function(pl, target)
- if target then
- local what =target.Size
- local size =what.x
- if what.y >= size then
- size = what.y
- end
- if what.z >= size then
- size = what.z
- end
- if size <= 30 then
- if target==head then
- else
- if target==torso then
- else
- if target==rightleg then
- else
- if target==leftleg then
- else
- if target==rightarm then
- else
- if target==leftarm then
- else
- if target==eye then
- else
- if target==eye1 then
- else
- if target.Parent==head then
- else
- if target.Parent==torso then
- else
- if target.Parent==rightleg then
- else
- if target.Parent==leftleg then
- else
- if target.Parent==rightarm then
- else
- if target.Parent==leftarm then
- else
- if target.Parent==eye then
- else
- if target.Parent==eye1 then
- else
- eat(target)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end
- end)
- end
- else
- rem2=true
- local rem_two = Instance.new("RemoteEvent",remotepart) rem_two.Name='2'
- end
- local rem_3 = remotepart:FindFirstChild('3')
- if rem_3 then
- if rem3==true then
- rem3=false
- rem_3.OnServerEvent:Connect(function(pl, telepo)
- rootpart.Position=telepo + Vector3.new(0,4,0)
- end)
- end
- else
- rem3=true
- local rem_three = Instance.new("RemoteEvent",remotepart) rem_three.Name='3'
- end
- local rem_4 = remotepart:FindFirstChild('4')
- if rem_4 then
- if rem4==true then
- rem4=false
- rem_4.OnServerEvent:connect(function(pl,die)
- print('not in use')
- end)
- end
- else
- rem4=true
- local rem_four = Instance.new("RemoteEvent",remotepart) rem_four.Name='4'
- end
- local mover = remotepart:FindFirstChild('direction')
- if mover then
- if remotem==true then
- remotem=false
- mover.OnServerEvent:Connect(function(plr, movement)
- rootpart.CFrame=rootpart.CFrame:Lerp(movement,movesmoothing)
- end)
- end
- else
- remotem=true
- moveremote(remotepart)
- end
- --local camremo = remotepart:FindFirstChild('camera')
- --if camremo then
- --camremo:FireClient(player,rootpart.Position)
- --else
- -- cameraremote(remotepart)
- --end
- else
- refit_rempart()
- end
- end)
- run.Heartbeat:Connect(function()
- head.Anchored=true head.Size=Vector3.new(2,1,1) head.Color=Color3.new()
- head.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- torso.Anchored=true torso.Size=Vector3.new(2,2,1) torso.Color=Color3.new() torso.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- leftarm.Anchored=true leftarm.Size=Vector3.new(1,2,1) leftarm.Color=Color3.new() leftarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- rightarm.Anchored=true rightarm.Size=Vector3.new(1,2,1) rightarm.Color=Color3.new() rightarm.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- leftleg.Anchored=true leftleg.Size=Vector3.new(1,2,1) leftleg.Color=Color3.new() leftleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- rightleg.Anchored=true rightleg.Size=Vector3.new(1,2,1) rightleg.Color=Color3.new() rightleg.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye.Anchored=true eye.Size=Vector3.new(0.083, 0.594, 0.289) eye.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye1.Anchored=true eye1.Size=Vector3.new(0.083, 0.594, 0.289) eye1.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eyemesh.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150)) eyemesh1.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- mesh.Scale = Vector3.new(1.25, 1.25, 1.25) mesh.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- music.Name=string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))..string.char(math.random(1,150))
- eye.Material='Neon'
- eye1.Material='Neon'
- torso.Material='Neon'
- head.Material='Neon'
- leftarm.Material='Neon'
- rightarm.Material='Neon'
- rightleg.Material='Neon'
- leftarm.Material='Neon'
- local no = workspace:FindFirstChild(player.Name)
- if no then
- no.Parent=nil
- end
- end)
- run.Heartbeat:Connect(function()
- --character
- torso.CFrame=rootpart.CFrame*CFrame.new(0,updown,0)*CFrame.Angles(fun,0,0)
- head.CFrame=torso.CFrame*CFrame.new(0,1.5,0)*CFrame.Angles(twist,d,f)
- leftarm.CFrame=torso.CFrame*CFrame.new(-1.5,arms,-.3)*CFrame.Angles(-fun,.5,0)
- rightarm.CFrame=torso.CFrame*CFrame.new(1.5,arms,-.3)*CFrame.Angles(-fun,.5,0)
- leftleg.CFrame=torso.CFrame*CFrame.new(-.5,Legs,-.2)*CFrame.Angles(-aname,0,0)
- rightleg.CFrame=torso.CFrame*CFrame.new(.5,Legs,-.2)*CFrame.Angles(-aname,0,0)
- eye.CFrame=head.CFrame*CFrame.new(.175,.1,-.46)
- eye1.CFrame=head.CFrame*CFrame.new(-.175,.1,-.46)
- end)
- end
Add Comment
Please, Sign In to add comment