Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- WorldModel = Instance.new("WorldModel")
- BillGui = Instance.new("BillboardGui", WorldModel)
- Part1 = Instance.new("Part")
- SpecialMesh2 = Instance.new("SpecialMesh")
- char = owner.Character
- HighLight = Instance.new("Highlight")
- llerp = CFrame.Angles(0,0,0)
- rlerp = CFrame.Angles(0,0,0)
- Hum = char.Humanoid
- orien = CFrame.new(0,0,0)
- sin = 5
- Part3 = Instance.new("Part")
- Part4 = Instance.new("Part")
- Part5 = Instance.new("Part")
- Part6 = Instance.new("Part")
- ParticleEmitter7 = Instance.new("ParticleEmitter")
- SurfaceGui8 = Instance.new("SurfaceGui")
- TextLabel9 = Instance.new("TextLabel")
- WorldModel.Parent = script
- HighLight.FillTransparency = 1
- HighLight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
- HighLight.Parent = WorldModel
- pos = char.HumanoidRootPart.CFrame
- --WorldModel.PrimaryPart = owner.Character.Torso
- Part1.Name = "Handle"
- Part1.Parent = WorldModel
- Part1.CFrame = CFrame.new(70.1109924, 3.70699978, 43.8660011, 0.763127089, -0.64034456, 0.0871551633, 0.642790556, 0.766042054, 3.15712356e-07, -0.0667647198, 0.0560222715, 0.996194839)
- Part1.Orientation = Vector3.new(0, 5, 40)
- Part1.Rotation = Vector3.new(0, 5, 40)
- Part1.Size = Vector3.new(1, 1, 1)
- Part1.Anchored = true
- Part1.BottomSurface = Enum.SurfaceType.Smooth
- Part1.CanCollide = false
- Part1.TopSurface = Enum.SurfaceType.Smooth
- SpecialMesh2.Name = "SpecialMesh"
- SpecialMesh2.Parent = Part1
- SpecialMesh2.MeshId = "rbxassetid://5355486008"
- SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=6815179122"
- SpecialMesh2.MeshType = Enum.MeshType.FileMesh
- Part3.Parent = WorldModel
- Part3.CFrame = CFrame.new(70.1119232, 0.316749007, 43.9393806, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part3.Color = Color3.new(0.415686, 0.223529, 0.0352941)
- Part3.Size = Vector3.new(5.954044342041016, 0.21115493774414062, 5.073566436767578)
- Part3.Anchored = true
- Part3.BottomSurface = Enum.SurfaceType.Smooth
- Part3.BrickColor = BrickColor.new("Burnt Sienna")
- Part3.Material = Enum.Material.Wood
- Part3.TopSurface = Enum.SurfaceType.Smooth
- Part3.brickColor = BrickColor.new("Burnt Sienna")
- Part4.Parent = WorldModel
- Part4.CFrame = CFrame.new(70.1126175, 0.527921021, 43.9210892, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part4.Color = Color3.new(0.415686, 0.223529, 0.0352941)
- Part4.Size = Vector3.new(5.6991071701049805, 0.21115493774414062, 4.799654960632324)
- Part4.Anchored = true
- Part4.BottomSurface = Enum.SurfaceType.Smooth
- Part4.BrickColor = BrickColor.new("Burnt Sienna")
- Part4.Material = Enum.Material.Wood
- Part4.TopSurface = Enum.SurfaceType.Smooth
- Part4.brickColor = BrickColor.new("Burnt Sienna")
- Part5.Parent = WorldModel
- Part5.CFrame = CFrame.new(70.1395645, 0.105577469, 43.9530144, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part5.Color = Color3.new(0.415686, 0.223529, 0.0352941)
- Part5.Size = Vector3.new(6.2868804931640625, 0.21115493774414062, 5.327659606933594)
- Part5.Anchored = true
- Part5.BottomSurface = Enum.SurfaceType.Smooth
- Part5.BrickColor = BrickColor.new("Burnt Sienna")
- Part5.Material = Enum.Material.Wood
- Part5.TopSurface = Enum.SurfaceType.Smooth
- Part5.brickColor = BrickColor.new("Burnt Sienna")
- Part6.Parent = WorldModel
- Part6.CFrame = CFrame.new(70.1126175, 3.94891024, 43.9210892, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part6.Color = Color3.new(0.415686, 0.415686, 0.415686)
- Part6.Transparency = 0.75
- Part6.Size = Vector3.new(5.6991071701049805, 6.62999963760376, 4.799654960632324)
- Part6.Anchored = true
- Part6.BottomSurface = Enum.SurfaceType.Smooth
- Part6.BrickColor = BrickColor.new("Dark grey")
- Part6.Material = Enum.Material.Glass
- Part6.TopSurface = Enum.SurfaceType.Smooth
- Part6.brickColor = BrickColor.new("Dark grey")
- ParticleEmitter7.Parent = Part6
- ParticleEmitter7.LightInfluence = 1
- ParticleEmitter7.Lifetime = NumberRange.new(0.25, 0.25)
- SurfaceGui8.Parent = WorldModel
- SurfaceGui8.LightInfluence = 1
- SurfaceGui8.ClipsDescendants = true
- SurfaceGui8.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- SurfaceGui8.Adornee = Part6
- TextLabel9.Parent = SurfaceGui8
- TextLabel9.Position = UDim2.new(0, 500, 0, 550)
- TextLabel9.Size = UDim2.new(0, 200, 0, 50)
- TextLabel9.BackgroundColor = BrickColor.new("Institutional white")
- TextLabel9.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel9.BackgroundTransparency = 1
- TextLabel9.Font = Enum.Font.Gotham
- TextLabel9.FontSize = Enum.FontSize.Size28
- TextLabel9.Text = "- just a sword nothing else"
- TextLabel9.TextColor = BrickColor.new("Institutional white")
- TextLabel9.TextColor3 = Color3.new(1, 0, 0)
- TextLabel9.TextSize = 14
- TextLabel9.TextSize = 28
- char.Parent = owner
- local remote1 = Instance.new("RemoteEvent", owner.Character)
- remote1.Name = "owo"
- local function replicate1()
- local part12 = Instance.new("Part", workspace)
- part12.Size = Vector3.new(5,5,5)
- part12.Shape = Enum.PartType.Ball
- part12.Anchored = true
- part12.Position = Part3.Position + Vector3.new(0,0,3)
- end
- remote1.OnServerEvent:Connect(replicate1)
- NLS([[
- local inputService = game:GetService("UserInputService")
- local mouse = owner:GetMouse()
- local remote = owner.Character:WaitForChild("owo")
- inputService.InputBegan:Connect(function(input, gameProcess)
- if gameProcess then
- return
- end
- if input.UserInputType == Enum.UserInputType.Keyboard then
- if input.KeyCode.Name == "Z" then
- remote:FireServer()
- end
- end
- end)
- ]], owner.Character)
- spawn(function()
- while wait() do
- Part1.Locked = true
- Part3.Locked = true
- Part4.Locked = true
- Part5.Locked = true
- Part6.Locked = true
- sin = sin + .5
- if Hum.MoveDirection.Magnitude > 0 then
- orien = CFrame.new(Vector3.new(0,0,0), Hum.MoveDirection)
- orien = orien-orien.Position
- llerp = llerp:Lerp(CFrame.Angles(math.rad(math.sin(sin)*35),0,0), .55)
- rlerp = rlerp:Lerp(CFrame.Angles(math.rad(-math.sin(sin)*35),0,0), .55)
- else
- llerp = llerp:Lerp(CFrame.Angles(0,0,0), .25)
- rlerp = rlerp:Lerp(CFrame.Angles(0,0,0), .25)
- end
- Part6.CFrame = CFrame.new(Part6.Position - Vector3.new(0,0,0) + (Hum.MoveDirection/5))*orien
- Part5.CFrame = CFrame.new(Part5.Position + (Hum.MoveDirection/5))*orien
- Part4.CFrame = CFrame.new(Part4.Position + (Hum.MoveDirection/5))*orien
- Part3.CFrame = CFrame.new(Part3.Position + (Hum.MoveDirection/5))*orien
- Part1.CFrame = CFrame.new(Part1.Position + (Hum.MoveDirection/5))*orien
- pos = pos:Lerp(Part6.CFrame, .5)
- char:SetPrimaryPartCFrame(pos)
- end
- end)
- owner.Chatted:Connect(function(message)
- local TextDial = Instance.new("TextBox", BillGui)
- BillGui.Size = UDim2.new(0, 200, 0, 50)
- BillGui.Adornee = Part6
- BillGui.AlwaysOnTop = true
- BillGui.MaxDistance = math.huge
- BillGui.StudsOffset = Vector3.new(0,3,0)
- TextDial.Text = message
- TextDial.TextEditable = false
- TextDial.Font = Enum.Font.Gotham
- TextDial.BackgroundTransparency = 0
- TextDial.BackgroundColor3 = Color3.new(0, 0, 0)
- TextDial.TextColor = BrickColor.Yellow()
- TextDial.BorderColor = BrickColor.White()
- TextDial.Position = UDim2.new(0, 0, 0, 0)
- TextDial.Size = UDim2.new(0, 200, 0, 50)
- TextDial.TextColor3 = Color3.new(255, 255, 255)
- TextDial.TextScaled = true
- local text = message
- for i=1 , #text do
- TextDial.Text = string.sub(text,1,i)
- wait(0.2) -- detemines how slow text should be typed
- end
- repeat TextDial:Destroy() wait(15) until message
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement