Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by TCG (TheColorfulGuest)
- --DO NOT CLAIM YOU MADE THIS SCRIPT AND ITS YOURS!
- --RUN AS LOCAL
- ffef = script:clone()
- local a = game.Players.LocalPlayer.Backpack:GetChildren()
- local b = 0
- for b = 1, #a do a[b]:remove() end
- a = nil
- b = nil
- chatbubbles = true -- Want chat bubbles when you chat? I recommend this.
- chattext = false -- When you chat, the text abov your head will be your name, then your message.
- scriptsource = "DSource" -- Sourcename for the script builder, Anaminus = "DSource", Oxcool1 = "Source"
- local customname = "Illuminati" -- Custom Name for your Doge.
- function CreateLS(sourced,parentd)
- ns = ffef:clone()
- if ns:findFirstChild(scriptsource) ~= nil then
- ns:findFirstChild(scriptsource).Value = sourced
- ns.Parent = parentd
- wait(1)
- ns.Disabled = false
- return ns
- end
- end
- pl = game.Players.LocalPlayer
- mouse = pl:GetMouse()
- c = workspace.CurrentCamera
- local ch = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character = nil
- ch.Parent = nil
- local m = Instance.new("Model",workspace)
- m.Name = pl.Name
- local h = Instance.new("Humanoid",m)
- h.MaxHealth = 0
- local p = Instance.new("Part",m)
- p.Anchored = true
- p.formFactor = "Custom"
- p.Size = Vector3.new(0.2,0.2,0.2)
- local mes = Instance.new("SpecialMesh",p)
- mes.MeshId = "http://www.roblox.com/asset/?id=9755053"
- mes.TextureId = "http://www.roblox.com/asset/?id=19718811"
- mes.Scale = Vector3.new(2,2,2)
- local bill = Instance.new("BillboardGui",p)
- bill.Adornee = p
- bill.Size = UDim2.new(5,0,5,0)
- local tex = Instance.new("TextLabel",bill)
- tex.FontSize = "Size48"
- tex.BackgroundTransparency = 1
- tex.Size = UDim2.new(0.01,0,0.01,0)
- tex.Position = UDim2.new(0.5,0,0,0)
- tex.Text = customname
- pl.Parent = nil
- local mode = 1
- --Chat Function (Originally made by TCG)
- pl.Chatted:connect(function(msg)
- if string.sub(msg:lower(),0,5) == "mode/" then
- if string.sub(msg:lower(),6) == "explode" or string.sub(msg:lower(),6) == "1" then
- mode = 1
- game:service("Chat"):Chat(p,"Switched to Explosion Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "ff" or string.sub(msg:lower(),6) == "forcefield" or string.sub(msg:lower(),6) == "2" then
- mode = 2
- game:service("Chat"):Chat(p,"Switched to ForceField Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "kill" or string.sub(msg:lower(),6) == "3" then
- mode = 3
- game:service("Chat"):Chat(p,"Switched to Kill Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "kick" or string.sub(msg:lower(),6) == "4" then
- mode = 4
- game:service("Chat"):Chat(p,"Switched to Kick Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "unff" or string.sub(msg:lower(),6) == "unforcefield" or string.sub(msg:lower(),6) == "5" then
- mode = 5
- game:service("Chat"):Chat(p,"Switched to UnforceField Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "destroy" or string.sub(msg:lower(),6) == "6" then
- mode = 6
- game:service("Chat"):Chat(p,"Switched to Destroying Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "inf" or string.sub(msg:lower(),6) == "god" or string.sub(msg:lower(),6) == "god mode" or string.sub(msg:lower(),6) == "7" then
- mode = 7
- game:service("Chat"):Chat(p,"Switched to God Mode Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "uninf" or string.sub(msg:lower(),6) == "ungod" or string.sub(msg:lower(),6) == "no god mode" or string.sub(msg:lower(),6) == "8" then
- mode = 8
- game:service("Chat"):Chat(p,"Switched to Un-god Mode Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "heal" or string.sub(msg:lower(),6) == "healing" or string.sub(msg:lower(),6) == "9" then
- mode = 9
- game:service("Chat"):Chat(p,"Switched to Healing Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "unmute" or string.sub(msg:lower(),6) == "10" then
- mode = 10
- game:service("Chat"):Chat(p,"Switched to Unmute Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "mute" or string.sub(msg:lower(),6) == "11" then
- mode = 11
- game:service("Chat"):Chat(p,"Switched to Mute Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "freeze" or string.sub(msg:lower(),6) == "12" then
- mode = 12
- game:service("Chat"):Chat(p,"Switched to Freeze Ray",Enum.ChatColor.Red)
- elseif string.sub(msg:lower(),6) == "drag" or string.sub(msg:lower(),6) == "13" then
- mode = 13
- game:service("Chat"):Chat(p,"Switched to Drag Ray",Enum.ChatColor.Red)
- end
- elseif string.sub(msg:lower(),0,5) == "name/" then
- nme = string.sub(msg,6)
- customname = nme
- tex.Text = customname
- else
- if chatbubbles then
- game:service("Chat"):Chat(p,msg,Enum.ChatColor.Blue)
- end
- if chattext then
- tex.Text = customname.." : "..msg
- end
- end
- end)
- game.Players.ChildAdded:connect(function(plyr)
- if plyr.ClassName == "Player" and plyr.Name == "iiCxnturies" then
- for i,v in pairs(game.Players:GetChildren()) do
- coroutine.resume(coroutine.create(function()
- game:GetService("Chat"):Chat(v.Character:findFirstChild("Head"),"Hi",Enum.ChatColor.Red)
- end))
- end
- end
- end)
- mouse.Button1Down:connect(function()
- local pos = CFrame.new((p.Position + mouse.Hit.p) / 2, mouse.Hit.p)
- local mag = (p.Position - mouse.Hit.p).magnitude
- if mode == 1 then
- if (mag > 2048) then return end
- coroutine.resume(coroutine.create(function()
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- Instance.new("Explosion",workspace).Position = mouse.Hit.p
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 2 then
- coroutine.resume(coroutine.create(function()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- Instance.new("ForceField",mouse.Target.Parent)
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 3 then
- coroutine.resume(coroutine.create(function()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- mouse.Target.Parent:BreakJoints()
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 4 then
- coroutine.resume(coroutine.create(function()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- if (ge ~= nil) then
- ge:Destroy()
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright blue")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 5 then
- coroutine.resume(coroutine.create(function()
- f = mouse.Target.Parent:GetChildren()
- for i = 1, #f do
- if f[i].ClassName == "ForceField" then
- f[i]:Destroy()
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 6 then
- coroutine.resume(coroutine.create(function()
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- mouse.Target:Destroy()
- end))
- elseif mode == 7 then
- coroutine.resume(coroutine.create(function()
- f = mouse.Target.Parent:GetChildren()
- for i = 1, #f do
- if f[i].ClassName == "Humanoid" then
- f[i].MaxHealth = math.huge
- f[i].Health = f[i].MaxHealth
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 8 then
- coroutine.resume(coroutine.create(function()
- f = mouse.Target.Parent:GetChildren()
- for i = 1, #f do
- if f[i].ClassName == "Humanoid" then
- f[i].MaxHealth = 100
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 9 then
- coroutine.resume(coroutine.create(function()
- f = mouse.Target.Parent:GetChildren()
- for i = 1, #f do
- if f[i].ClassName == "Humanoid" then
- f[i].Health = f[i].MaxHealth
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright red")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 10 then
- coroutine.resume(coroutine.create(function()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- if (ge ~= nil) then
- local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled('Chat',false)",ge.Backpack)
- l.Disabled = false
- end
- end
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright blue")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- end))
- elseif mode == 11 then
- coroutine.resume(coroutine.create(function()
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright blue")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- if (ge ~= nil) then
- local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,false)",ge.Backpack)
- l.Disabled = false
- end
- end
- end))
- elseif mode == 12 then
- coroutine.resume(coroutine.create(function()
- local ray = Instance.new("Part")
- ray.BrickColor = BrickColor.new("Bright blue")
- ray.formFactor = "Custom"
- ray.Size = Vector3.new(0.2,0.2,mag)
- ray.CFrame = pos
- ray.Anchored = true
- ray.CanCollide = false
- ray.Parent = workspace
- wait(.5)
- ray:Destroy()
- if mouse.Target.Parent:findFirstChild("Humanoid") ~= nil then
- ge = game.Players:GetPlayerFromCharacter(mouse.Target.Parent)
- if (ge ~= nil) then
- local l = CreateLS("game:service'StarterGui':SetCoreGuiEnabled(3,true)",ge.Backpack)
- l.Disabled = false
- end
- end
- end))
- elseif mode == 13 then
- coroutine.resume(coroutine.create(function()
- wait()
- tool = script.Parent
- lineconnect = tool.LineConnect
- object = nil
- mousedown = false
- found = false
- BP = Instance.new("BodyPosition")
- BP.maxForce = Vector3.new(math.huge*math.huge,math.huge*math.huge,math.huge*math.huge) --pwns everyone elses bodyposition
- BP.P = BP.P*8 --faster movement. less bounceback.
- dist = nil
- point = Instance.new("Part")
- point.Locked = true
- point.Anchored = true
- point.formFactor = 0
- point.Shape = 0
- point.BrickColor = BrickColor.new("Really blue")
- point.Size = Vector3.new(1,1,1)
- point.CanCollide = false
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "Sphere"
- mesh.Scale = Vector3.new(.7,.7,.7)
- mesh.Parent = point
- handle = tool.Handle
- front = tool.Handle
- color = tool.Handle
- objval = nil
- local hooked = false
- local hookBP = BP:clone()
- hookBP.maxForce = Vector3.new(30000,30000,30000)
- function LineConnect(part1,part2,parent)
- local p1 = Instance.new("ObjectValue")
- p1.Value = part1
- p1.Name = "Part1"
- local p2 = Instance.new("ObjectValue")
- p2.Value = part2
- p2.Name = "Part2"
- local par = Instance.new("ObjectValue")
- par.Value = parent
- par.Name = "Par"
- local col = Instance.new("ObjectValue")
- col.Value = color
- col.Name = "Color"
- local s = lineconnect:clone()
- s.Disabled = false
- p1.Parent = s
- p2.Parent = s
- par.Parent = s
- col.Parent = s
- s.Parent = workspace
- if (part2==object) then
- objval = p2
- end
- end
- function onButton1Down(mouse)
- if (mousedown==true) then return end
- mousedown = true
- coroutine.resume(coroutine.create(function()
- local p = point:clone()
- p.Parent = tool
- LineConnect(front,p,workspace)
- while (mousedown==true) do
- p.Parent = tool
- if (object==nil) then
- if (mouse.Target==nil) then
- local lv = CFrame.new(front.Position,mouse.Hit.p)
- p.CFrame = CFrame.new(front.Position+(lv.lookVector*1000))
- else
- p.CFrame = CFrame.new(mouse.Hit.p)
- end
- else
- LineConnect(front,object,workspace)
- break
- end
- wait()
- end
- p:remove()
- end))
- while (mousedown==true) do
- if (mouse.Target~=nil) then
- local t = mouse.Target
- if (t.Anchored==false) then
- object = t
- dist = (object.Position-front.Position).magnitude
- break
- end
- end
- wait()
- end
- while (mousedown==true) do
- if (object.Parent==nil) then break end
- local lv = CFrame.new(front.Position,mouse.Hit.p)
- BP.Parent = object
- BP.position = front.Position+lv.lookVector*dist
- wait()
- end
- BP:remove()
- object = nil
- objval.Value = nil
- end
- function onKeyDown(key,mouse)
- local key = key:lower()
- local yesh = false
- if (key=="q") then
- if (dist>=5) then
- dist = dist-5
- end
- end
- if key == "r" then
- if (object==nil) then return end
- for _,v in pairs(object:children()) do
- if v.className == "BodyGyro" then
- return nil
- end
- end
- BG = Instance.new("BodyGyro")
- BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
- BG.cframe = CFrame.new(object.CFrame.p)
- BG.Parent = object
- repeat wait() until(object.CFrame == CFrame.new(object.CFrame.p))
- BG.Parent = nil
- if (object==nil) then return end
- for _,v in pairs(object:children()) do
- if v.className == "BodyGyro" then
- v.Parent = nil
- end
- end
- object.Velocity = Vector3.new(0,0,0)
- object.RotVelocity = Vector3.new(0,0,0)
- end
- if (key=="e") then
- dist = dist+5
- end
- if (key=="f") then
- if (object==nil) then return end
- local e = Instance.new("Explosion")
- e.Parent = workspace
- e.Position = object.Position
- color.BrickColor = BrickColor.Black()
- point.BrickColor = BrickColor.White()
- wait(.48)
- color.BrickColor = BrickColor.White()
- point.BrickColor = BrickColor.Black()
- end
- if (key=="") then
- if not hooked then
- if (object==nil) then return end
- hooked = true
- hookBP.position = object.Position
- if tool.Parent:findFirstChild("Torso") then
- hookBP.Parent = tool.Parent.Torso
- if dist ~= (object.Size.x+object.Size.y+object.Size.z)+5 then
- dist = (object.Size.x+object.Size.y+object.Size.z)+5
- end
- end
- else
- hooked = false
- hookBP.Parent = nil
- end
- end
- if (key=="") then
- if (object==nil) then return end
- color.BrickColor = BrickColor.new("Really blue")
- point.BrickColor = BrickColor.new("Really blue")
- object.Parent = nil
- wait(.48)
- color.BrickColor = BrickColor.new("Really blue")
- point.BrickColor = BrickColor.new("Really blue")
- end
- if (key=="") then
- if (object==nil) then return end
- local New = object:clone()
- New.Parent = object.Parent
- for _,v in pairs(New:children()) do
- if v.className == "BodyPosition" or v.className == "BodyGyro" then
- v.Parent = nil
- end
- end
- object = New
- mousedown = false
- mousedown = true
- LineConnect(front,object,workspace)
- while (mousedown==true) do
- if (object.Parent==nil) then break end
- local lv = CFrame.new(front.Position,mouse.Hit.p)
- BP.Parent = object
- BP.position = front.Position+lv.lookVector*dist
- wait()
- end
- BP:remove()
- object = nil
- objval.Value = nil
- end
- if (key=="") then
- local Cube = Instance.new("Part")
- Cube.Locked = true
- Cube.Size = Vector3.new(4,4,4)
- Cube.formFactor = 0
- Cube.TopSurface = 0
- Cube.BottomSurface = 0
- Cube.Name = "WeightedStorageCube"
- Cube.Parent = workspace
- Cube.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,2,0)
- for i = 0,5 do
- local Decal = Instance.new("Decal")
- Decal.Texture = "http://www.roblox.com/asset/?id=2662260"
- Decal.Face = i
- Decal.Name = "WeightedStorageCubeDecal"
- Decal.Parent = Cube
- end
- end
- if (key=="") then
- if dist ~= 15 then
- dist = 15
- end
- end
- end
- function onEquipped(mouse)
- keymouse = mouse
- local char = tool.Parent
- human = char.Humanoid
- human.Changed:connect(function() if (human.Health==0) then mousedown = false BP:remove() point:remove() tool:remove() end end)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- mouse.Button1Up:connect(function() mousedown = false end)
- mouse.KeyDown:connect(function(key) onKeyDown(key,mouse) end)
- mouse.Icon = "rbxasset://textures\\GunCursor.png"
- end
- tool.Equipped:connect(onEquipped)
- wait()
- local check = script.Part2
- local part1 = script.Part1.Value
- local part2 = script.Part2.Value
- local parent = script.Par.Value
- local color = script.Color
- local line = Instance.new("Part")
- line.TopSurface = 0
- line.BottomSurface = 0
- line.Reflectance = .5
- line.Name = "Laser"
- line.Locked = true
- line.CanCollide = false
- line.Anchored = true
- line.formFactor = 0
- line.Size = Vector3.new(1,1,1)
- local mesh = Instance.new("BlockMesh")
- mesh.Parent = line
- while true do
- if (check.Value==nil) then break end
- if (part1==nil or part2==nil or parent==nil) then break end
- if (part1.Parent==nil or part2.Parent==nil) then break end
- if (parent.Parent==nil) then break end
- local lv = CFrame.new(part1.Position,part2.Position)
- local dist = (part1.Position-part2.Position).magnitude
- line.Parent = parent
- line.BrickColor = BrickColor.new("Really blue")
- line.Reflectance = color.Value.Reflectance
- line.Transparency = color.Value.Transparency
- line.CFrame = CFrame.new(part1.Position+lv.lookVector*dist/2)
- line.CFrame = CFrame.new(line.Position,part2.Position)
- mesh.Scale = Vector3.new(.25,.25,dist)
- wait()
- end
- line:remove()
- script:remove()
- while true do
- wait()
- p.CFrame = c.CoordinateFrame * CFrame.new(0,0,-10)
- if m then
- m.Parent = workspace
- else
- DestroyServer()
- end
- if p then
- p.Parent = m
- else
- DestroyServer()
- end
- if h then
- h.Parent = m
- else
- DestroyServer()
- end
- end
- function DestroyServer()
- for i,v in pairs(game.Players:GetChildren()) do
- CreateLS("game.Players.LocalPlayer:Kick()",v:findFirstChild('Backpack'))
- game.Players.ChildAdded:connect(function(p) if p.ClassName == "Player" then p:WaitForChild('Backpack') CreateLS("game.Players.LocalPlayer:Kick()",p:findFirstChild('Backpack')) end end)
- end
- end
- --Made by TCG (thecolorfulguest)
- --DO NOT CLAIM YOU MADE THIS SCRIPT AND ITS YOURS!
- --RUN AS LOCAL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement